2020-11-27 12:49:03 +01:00
# Generated by Django 3.1.3 on 2020-11-27 11:47
2020-11-13 15:31:14 +01:00
from django . db import migrations , models
import uuid
class Migration ( migrations . Migration ) :
initial = True
dependencies = [
]
operations = [
migrations . CreateModel (
name = ' Synthea ' ,
fields = [
( ' created_at ' , models . DateTimeField ( auto_now_add = True , help_text = ' The date and time this model has been created ' , verbose_name = ' Date created ' ) ) ,
( ' updated_at ' , models . DateTimeField ( auto_now = True , help_text = ' The date and time this model has been updated ' , verbose_name = ' Date updated ' ) ) ,
( ' id ' , models . UUIDField ( default = uuid . uuid4 , editable = False , help_text = ' A unique id ' , primary_key = True , serialize = False , unique = True , verbose_name = ' ID ' ) ) ,
2020-11-27 12:49:03 +01:00
( ' state ' , models . CharField ( help_text = ' The state for which synthea generate data. ' , max_length = 200 , verbose_name = ' State ' ) ) ,
2020-11-13 15:31:14 +01:00
( ' population ' , models . PositiveSmallIntegerField ( default = 50 , help_text = ' The size of the population ' , verbose_name = ' Population ' ) ) ,
2020-11-27 12:49:03 +01:00
( ' gender ' , models . CharField ( blank = True , help_text = ' Select the gender type ' , max_length = 1 , verbose_name = ' Gender ' ) ) ,
( ' age ' , models . CharField ( blank = True , default = ' 18-100 ' , help_text = ' Select the age range. Enter [min age]-[max age] ' , max_length = 10 , verbose_name = ' Age range ' ) ) ,
( ' module ' , models . CharField ( blank = True , help_text = ' Select the module ' , max_length = 50 , verbose_name = ' Module ' ) ) ,
( ' log ' , models . TextField ( blank = True , help_text = ' Synthea logfile output ' , verbose_name = ' Log ' ) ) ,
2020-11-13 15:31:14 +01:00
] ,
options = {
2020-11-27 12:49:03 +01:00
' verbose_name ' : ' synthea ' ,
' verbose_name_plural ' : ' synthea ' ,
2020-11-13 15:31:14 +01:00
} ,
) ,
]