a #e @s^ddlmZddlZddlmZddlZddlm Z m Z ddl Zddl ZGddde j Z dS))unicode_literalsN)settings) migrationsmodelsc@sjeZdZdZddeejgZej dde j dddddfd e j d e j jd fgd ej d de j dddddfde jdddfde jddddfde jejjjddfde jddddfde jdejj jjejdfgd ej dde j dddddfde jejj jjd d!fd"e jejj jjd#d!fd$e jejj jjd%d!fgd&did'ej d(de j dddddfde jejj jjd d!fd$e jejj jjd%d!fd)e jejj jjejd!fgd&did'ej d*de j dddddfd+e jddd,d-dd.fde jdd/ddd0fd1e jdd2dfd3e jd4d5dfd6e jdgd7dd8dd9fd:e jdd;ddfdfd?e jdd,d@dAfdBe j#ddCde j j$dDfdEejj%jj j&ddFddGdHfde jejjjddfdIe jdgdJddKdd9fdLe jddMdejj jjdNdOfdPe jdQejj jjd dfgd ej'dRdSe jdTejj jjdUddVej(dWe)dXgdYej(dZe)d[gdYgZ*d\S)] MigrationT)nodeodm 0001_initial)auth#0008_alter_user_username_max_length ImageUploadidFID) auto_created primary_key serialize verbose_nameimagezFile uploaded by a user) help_text upload_to)namefieldsProjectrz$A label used to describe the project)r max_length descriptionz(More in-depth description of the project)blankrnull created_atz Creation date)defaultrdeletingzWhether this project has been marked for deletion. Projects that have running tasks need to wait for tasks to be properly cleaned up before they can be deleted.)db_indexrrownerz"The person who created the project)r on_deletetoProjectGroupObjectPermissioncontent_objectz app.Project)r"r#groupz auth.Group permissionzauth.Permissionabstract)rroptionsProjectUserObjectPermissionuserTaskuuidz?Identifier of the task (as returned by OpenDroneMap's REST API))rr rrrzA label for the task)rrrrprocessing_lockzA flag indicating whether this task is currently locked for processing. When this flag is turned on, the task is in the middle of a processing step.processing_timeztNumber of milliseconds that elapsed since the beginning of this task (-1 indicates that no information is available)status)) QUEUED)RUNNING)FAILED)( COMPLETED)2CANCELEDzCurrent status of the task)rchoicesr rr last_errorz"The last processing error receivedr)z0Options that are being used to process this task)rrr validatorsconsole_outputz,Console output of the OpenDroneMap's process)rrrground_control_pointsz9Optional Ground Control Points file to use for processing)rrrr orthophotoz"Orthophoto created by OpenDroneMapi)rrrsridpending_action))CANCEL)REMOVE)RESTARTz}A requested action to be performed on the task. The selected action will be performed by the scheduler at the next iteration.processing_nodezXProcessing node assigned to this task (or null if this task has not been associated yet)znodeodm.ProcessingNode)rrrr"r#projectz!Project that this task belongs to imageuploadtaskzTask this image belongs tozapp.Task) model_namerfieldZprojectuserobjectpermission)r+r'r%)runique_togetherZprojectgroupobjectpermission)r&r'r%N)+__name__ __module__ __qualname__initialrswappable_dependencyrAUTH_USER_MODEL dependencies CreateModelr AutoField ImageFieldappimage_directory_path CharField TextField DateTimeFielddjangoutilstimezonenow BooleanField ForeignKeydbdeletionPROTECTCASCADE IntegerFieldcontribpostgresrjsonb JSONFieldvalidate_task_options FileFieldgcp_directory_pathgis RasterFieldAddFieldAlterUniqueTogetherset operationsryry&/webodm/app/migrations/0001_initial.pyr s    "r) __future__rZ app.modelsr\ django.confrZ$django.contrib.postgres.fields.jsonbra django.dbrrdjango.db.models.deletionZdjango.utils.timezonerryryryrzs