class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Msg', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), ('updated_time', models.DateTimeField(auto_now=True, verbose_name='修改时间')), ('is_delete', models.BooleanField(default=False, verbose_name='是否被删除')), ('title', models.CharField(max_length=50, verbose_name='标题')), ('msg_type', models.IntegerField(choices=[(1, '竞拍消息'), (2, '拍卖公告'), (3, '系统消息')], verbose_name='消息类型')), ('content', markdownx.models.MarkdownxField()), ('periods', models.IntegerField(verbose_name='公告期数')), ], options={ 'verbose_name': '消息', 'verbose_name_plural': '消息', }, ), migrations.CreateModel( name='MsgHandler', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), ('updated_time', models.DateTimeField(auto_now=True, verbose_name='修改时间')), ('is_delete', models.BooleanField(default=False, verbose_name='是否被删除')), ('msg', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='msg.Msg', verbose_name='消息')), ], options={ 'verbose_name': '消息处理', 'verbose_name_plural': '消息处理', }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('app_author', '0001_initial'), ] operations = [ migrations.CreateModel( name='Category', fields=[ ('id', models.AutoField(primary_key=True, serialize=False)), ('category_title', models.CharField(max_length=200, verbose_name='Category Name')), ('slug', models.SlugField(editable=False, unique=True)), ], options={ 'verbose_name_plural': 'Categories', }, ), migrations.CreateModel( name='Comment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('comment_content', markdownx.models.MarkdownxField(verbose_name='Markdown')), ('is_created', models.DateTimeField(default=timezone.now)), ('comment_author', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_comments', to='app_author.Profile')), ], ), migrations.CreateModel( name='Forum', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('forum_title', models.CharField(max_length=225, verbose_name='Title')), ('forum_content', markdownx.models.MarkdownxField( verbose_name='Content (Use Markdown)')), ('is_created', models.DateTimeField(blank=True, default=timezone.now, null=True)), ('is_modified', models.DateTimeField(blank=True, default=timezone.now, null=True)), ('is_hot', models.BooleanField(default=False)), ('is_closed', models.BooleanField(default=False)), ('forum_author', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_forums', to='app_author.Profile')), ('forum_category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app_forum.Category', verbose_name='Category')), ], ), migrations.AddField( model_name='comment', name='forum', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='forum_comments', to='app_forum.Forum'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('appmngt', '0001_initial'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('taggit', '0002_auto_20150616_2121'), ] operations = [ migrations.CreateModel( name='FuncFlow', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200, unique=True, verbose_name='Name')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ('flow_id', models.CharField(default='', max_length=64, unique=True, verbose_name='Flow ID')), ('type', models.CharField(choices=[('Asynchronous', 'Asynchronous'), ('Synchronous', 'Synchronous'), ('Redirection', 'Redirection')], max_length=32, verbose_name='Type')), ('tags', taggit.managers.TaggableManager( blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')), ], options={ 'verbose_name': 'Functional flow', }, ), migrations.CreateModel( name='HistoricalFuncFlow', fields=[ ('id', models.IntegerField(auto_created=True, blank=True, db_index=True, verbose_name='ID')), ('name', models.CharField(db_index=True, max_length=200, verbose_name='Name')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ('flow_id', models.CharField(db_index=True, default='', max_length=64, verbose_name='Flow ID')), ('type', models.CharField(choices=[('Asynchronous', 'Asynchronous'), ('Synchronous', 'Synchronous'), ('Redirection', 'Redirection')], max_length=32, verbose_name='Type')), ('history_id', models.AutoField(primary_key=True, serialize=False)), ('history_change_reason', models.CharField(max_length=100, null=True)), ('history_date', models.DateTimeField()), ('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)), ('history_user', models.ForeignKey( null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'historical Functional flow', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date', }, bases=(simple_history.models.HistoricalChanges, models.Model), ), migrations.CreateModel( name='HistoricalSubFuncFlow', fields=[ ('id', models.IntegerField(auto_created=True, blank=True, db_index=True, verbose_name='ID')), ('name', models.CharField(db_index=True, max_length=200, verbose_name='Name')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ('subflow_id', models.CharField(db_index=True, default='', max_length=64, verbose_name='Sub flow ID')), ('vital', models.BooleanField(default=False, verbose_name='Vital')), ('history_id', models.AutoField(primary_key=True, serialize=False)), ('history_change_reason', models.CharField(max_length=100, null=True)), ('history_date', models.DateTimeField()), ('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)), ('func_flow', models.ForeignKey( blank=True, db_constraint=False, default=None, limit_choices_to={'status__in': ('On going', 'Released')}, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='funcmngt.FuncFlow', verbose_name='Functional Flow')), ('history_user', models.ForeignKey( null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)), ('receiver', models.ForeignKey( blank=True, db_constraint=False, default=None, limit_choices_to={'status__in': ('On going', 'Released')}, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='appmngt.Application', verbose_name='Receiver')), ('requester', models.ForeignKey( blank=True, db_constraint=False, default=None, limit_choices_to={'status__in': ('On going', 'Released')}, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='appmngt.Application', verbose_name='Requester')), ], options={ 'verbose_name': 'historical Sub functional flow', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date', }, bases=(simple_history.models.HistoricalChanges, models.Model), ), migrations.CreateModel( name='SubFuncFlow', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200, unique=True, verbose_name='Name')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ('subflow_id', models.CharField(default='', max_length=64, unique=True, verbose_name='Sub flow ID')), ('vital', models.BooleanField(default=False, verbose_name='Vital')), ('func_flow', models.ForeignKey( blank=True, default=None, limit_choices_to={'status__in': ('On going', 'Released')}, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='subfuncflow_flow', to='funcmngt.FuncFlow', verbose_name='Functional Flow')), ('receiver', models.ForeignKey( blank=True, default=None, limit_choices_to={'status__in': ('On going', 'Released')}, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='subfuncflow_rec_app', to='appmngt.Application', verbose_name='Receiver')), ('requester', models.ForeignKey( blank=True, default=None, limit_choices_to={'status__in': ('On going', 'Released')}, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='subfuncflow_req_app', to='appmngt.Application', verbose_name='Requester')), ('tags', taggit.managers.TaggableManager( blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')), ], options={ 'verbose_name': 'Sub functional flow', }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="Comment", fields=[ ("id", models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")), ("created_at", models.DateTimeField(auto_now_add=True, db_index=True)), ("modified_at", models.DateTimeField(auto_now=True)), ("deleted_at", models.DateTimeField(blank=True, default=None, null=True)), ("original_commenter", models.JSONField()), ("comment", models.TextField()), ("was_submitted", models.BooleanField(default=False)), ( "client_mode", models.CharField( choices=[("T", "Testing"), ("L", "Live")], default="T", editable=False, help_text="The mode the comment was submitted under.", max_length=1, ), ), ], ), migrations.CreateModel( name="Commenter", fields=[ ("id", models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")), ("created_at", models.DateTimeField(auto_now_add=True, db_index=True)), ("modified_at", models.DateTimeField(auto_now=True)), ("deleted_at", models.DateTimeField(blank=True, default=None, null=True)), ("email", models.EmailField(max_length=254)), ("first_name", models.CharField(blank=True, max_length=100, null=True)), ("last_name", models.CharField(blank=True, max_length=100, null=True)), ], options={"abstract": False}, ), migrations.CreateModel( name="Document", fields=[ ("id", models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")), ("created_at", models.DateTimeField(auto_now_add=True, db_index=True)), ("modified_at", models.DateTimeField(auto_now=True)), ("deleted_at", models.DateTimeField(blank=True, default=None, null=True)), ("document_id", models.CharField(max_length=100, verbose_name="Document ID")), ("slug", models.SlugField()), ("title", models.CharField(max_length=500)), ("description", markdownx.models.MarkdownxField(blank=True, null=True)), ("is_accepting_comments", models.BooleanField(default=False)), ("is_withdrawn", models.BooleanField(default=False)), ("document_type", models.CharField(max_length=50)), ("comment_end_date", models.DateTimeField(blank=True, null=True)), ("comment_start_date", models.DateTimeField(blank=True, null=True)), ( "client_mode", models.CharField( choices=[("T", "Testing"), ("L", "Live")], default="T", help_text= "Switch to live when you're ready to start accepting comments and have them submitted to regulations.gov. While in testing mode, comments will be logged but not submitted.", max_length=1, ), ), ], ), migrations.CreateModel( name="DocumentTopic", fields=[ ("id", models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")), ("created_at", models.DateTimeField(auto_now_add=True, db_index=True)), ("modified_at", models.DateTimeField(auto_now=True)), ("deleted_at", models.DateTimeField(blank=True, default=None, null=True)), ("name", models.CharField(max_length=100)), ], options={"abstract": False}, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('taggit', '0002_auto_20150616_2121'), ] operations = [ migrations.CreateModel( name='Application', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200, unique=True, verbose_name='Name')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ], options={ 'verbose_name_plural': 'Applications', }, ), migrations.CreateModel( name='Environment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ('name', models.CharField(max_length=200, verbose_name='Name')), ('application', models.ForeignKey( blank=True, default=None, limit_choices_to={'status__in': ('On going', 'Released')}, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='env_app', to='appmngt.Application', verbose_name='Application')), ], options={ 'verbose_name_plural': 'Environments', }, ), migrations.CreateModel( name='HistoricalApplication', fields=[ ('id', models.IntegerField(auto_created=True, blank=True, db_index=True, verbose_name='ID')), ('name', models.CharField(db_index=True, max_length=200, verbose_name='Name')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ('history_id', models.AutoField(primary_key=True, serialize=False)), ('history_change_reason', models.CharField(max_length=100, null=True)), ('history_date', models.DateTimeField()), ('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)), ('history_user', models.ForeignKey( null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'historical application', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date', }, bases=(simple_history.models.HistoricalChanges, models.Model), ), migrations.CreateModel( name='HistoricalEnvironment', fields=[ ('id', models.IntegerField(auto_created=True, blank=True, db_index=True, verbose_name='ID')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ('name', models.CharField(max_length=200, verbose_name='Name')), ('history_id', models.AutoField(primary_key=True, serialize=False)), ('history_change_reason', models.CharField(max_length=100, null=True)), ('history_date', models.DateTimeField()), ('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)), ('application', models.ForeignKey( blank=True, db_constraint=False, default=None, limit_choices_to={'status__in': ('On going', 'Released')}, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='appmngt.Application', verbose_name='Application')), ('history_user', models.ForeignKey( null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'historical environment', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date', }, bases=(simple_history.models.HistoricalChanges, models.Model), ), migrations.CreateModel( name='HistoricalPartner', fields=[ ('id', models.IntegerField(auto_created=True, blank=True, db_index=True, verbose_name='ID')), ('name', models.CharField(db_index=True, max_length=200, verbose_name='Name')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ('history_id', models.AutoField(primary_key=True, serialize=False)), ('history_change_reason', models.CharField(max_length=100, null=True)), ('history_date', models.DateTimeField()), ('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)), ('history_user', models.ForeignKey( null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'historical partner', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date', }, bases=(simple_history.models.HistoricalChanges, models.Model), ), migrations.CreateModel( name='HistoricalRelease', fields=[ ('id', models.IntegerField(auto_created=True, blank=True, db_index=True, verbose_name='ID')), ('name', models.CharField(db_index=True, max_length=200, verbose_name='Name')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ('release_date', models.DateField(default=datetime.datetime.now, verbose_name='Release date')), ('history_id', models.AutoField(primary_key=True, serialize=False)), ('history_change_reason', models.CharField(max_length=100, null=True)), ('history_date', models.DateTimeField()), ('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)), ('history_user', models.ForeignKey( null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'historical release', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date', }, bases=(simple_history.models.HistoricalChanges, models.Model), ), migrations.CreateModel( name='HistoricalUnivers', fields=[ ('id', models.IntegerField(auto_created=True, blank=True, db_index=True, verbose_name='ID')), ('name', models.CharField(db_index=True, max_length=200, verbose_name='Name')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ('history_id', models.AutoField(primary_key=True, serialize=False)), ('history_change_reason', models.CharField(max_length=100, null=True)), ('history_date', models.DateTimeField()), ('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)), ('history_user', models.ForeignKey( null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'historical univers', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date', }, bases=(simple_history.models.HistoricalChanges, models.Model), ), migrations.CreateModel( name='Partner', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200, unique=True, verbose_name='Name')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ('tags', taggit.managers.TaggableManager( blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')), ], options={ 'verbose_name_plural': 'Partners', }, ), migrations.CreateModel( name='Release', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200, unique=True, verbose_name='Name')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ('release_date', models.DateField(default=datetime.datetime.now, verbose_name='Release date')), ('applications', models.ManyToManyField( blank=True, default=None, limit_choices_to={'status__in': ('On going', 'Released')}, related_name='release_app', to='appmngt.Application', verbose_name='Applications')), ('tags', taggit.managers.TaggableManager( blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')), ], options={ 'verbose_name_plural': 'Releases', }, ), migrations.CreateModel( name='Univers', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200, unique=True, verbose_name='Name')), ('status', models.CharField(choices=[('Draft', 'Draft'), ('On going', 'On going'), ('Released', 'Released'), ('Retired', 'Retired'), ('Abort', 'Abort')], default='Draft', max_length=20)), ('description', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", null=True, verbose_name='Description')), ('documentation', models.URLField(blank=True, null=True, verbose_name='Documentation')), ('comment', markdownx.models.MarkdownxField( blank=True, help_text= "<a href='https://en.wikipedia.org/wiki/Markdown'>You can use Markdown</a>", verbose_name='Comment')), ('tags', taggit.managers.TaggableManager( blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')), ], options={ 'verbose_name_plural': 'Univers', }, ), migrations.AddField( model_name='historicalapplication', name='partner', field=models.ForeignKey( blank=True, db_constraint=False, default=None, limit_choices_to={'status__in': ('On going', 'Released')}, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='appmngt.Partner', verbose_name='Partner'), ), migrations.AddField( model_name='historicalapplication', name='univers', field=models.ForeignKey( blank=True, db_constraint=False, default=None, limit_choices_to={'status__in': ('On going', 'Released')}, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='appmngt.Univers', verbose_name='Univers'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='BidRecord', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), ('updated_time', models.DateTimeField(auto_now=True, verbose_name='修改时间')), ('is_delete', models.BooleanField(default=False, verbose_name='是否被删除')), ('is_out', models.BooleanField(default=True, verbose_name='是否出局')), ], options={ 'verbose_name': '出价记录', 'verbose_name_plural': '出价记录', }, ), migrations.CreateModel( name='Category', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), ('updated_time', models.DateTimeField(auto_now=True, verbose_name='修改时间')), ('is_delete', models.BooleanField(default=False, verbose_name='是否被删除')), ('name', models.CharField(blank=True, max_length=15, null=True, verbose_name='类型名称')), ('image', models.ImageField(upload_to='category/image/', verbose_name='类型的图片')), ('index', models.IntegerField(verbose_name='排序')), ], options={ 'verbose_name': '类型', 'verbose_name_plural': '类型', }, ), migrations.CreateModel( name='Goods', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), ('updated_time', models.DateTimeField(auto_now=True, verbose_name='修改时间')), ('is_delete', models.BooleanField(default=False, verbose_name='是否被删除')), ('goods_id', models.CharField(db_index=True, max_length=64, unique=True, verbose_name='商品id')), ('goods_sn', models.CharField(blank=True, default='', max_length=50, null=True, verbose_name='商品唯一货号')), ('name', models.CharField(max_length=100, verbose_name='商品名')), ('click_num', models.IntegerField(default=0, verbose_name='点击数')), ('fav_num', models.IntegerField(default=0, verbose_name='收藏数')), ('market_price', models.FloatField(default=0.0, verbose_name='市场价格')), ('now_price', models.FloatField(default=0.0, verbose_name='现在价格')), ('step_price', models.FloatField(default=0.1, verbose_name='每次出价价格')), ('goods_brief', models.TextField(max_length=500, verbose_name='商品简短描述')), ('goods_desc', markdownx.models.MarkdownxField(verbose_name='商品描述')), ('ship_free', models.BooleanField(default=True, verbose_name='是否承担运费')), ('goods_front_image', models.ImageField(upload_to='goods/front/image', verbose_name='封面图')), ('is_new', models.BooleanField(default=False, verbose_name='是否新品')), ('is_hot', models.BooleanField(default=False, verbose_name='是否热拍')), ('is_sell', models.BooleanField(default=False, verbose_name='是否拍出')), ('periods', models.IntegerField(verbose_name='期数')), ('category', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='goods.Category', verbose_name='商品类目')), ], options={ 'verbose_name': '商品', 'verbose_name_plural': '商品', }, ), migrations.CreateModel( name='GoodsImage', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), ('updated_time', models.DateTimeField(auto_now=True, verbose_name='修改时间')), ('is_delete', models.BooleanField(default=False, verbose_name='是否被删除')), ('index', models.IntegerField(verbose_name='图片顺序')), ('image', models.ImageField(upload_to='goods/detail/image', verbose_name='图片')), ('goods', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='goods.Goods', verbose_name='商品')), ], options={ 'verbose_name': '商品图片', 'verbose_name_plural': '商品图片', }, ), migrations.CreateModel( name='RoomDetail', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), ('updated_time', models.DateTimeField(auto_now=True, verbose_name='修改时间')), ('is_delete', models.BooleanField(default=False, verbose_name='是否被删除')), ('name', models.CharField(max_length=100, verbose_name='房间名字')), ('onlookers', models.IntegerField(verbose_name='围观人数')), ('bidders', models.IntegerField(verbose_name='出价人数')), ('goods', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='goods.Goods', verbose_name='商品')), ], options={ 'verbose_name': '房间详情', 'verbose_name_plural': '房间详情', }, ), migrations.AddField( model_name='bidrecord', name='goods', field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='goods.Goods', verbose_name='商品'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Subject', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('slug', models.SlugField(blank=True, null=True)), ('title', models.CharField(max_length=50, unique=True)), ('image', imagekit.models.fields.ProcessedImageField( upload_to='background_img/subject/')), ], ), migrations.CreateModel( name='Unit', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('slug', models.SlugField(blank=True, null=True)), ('title', models.CharField(max_length=255, unique=True)), ('image', imagekit.models.fields.ProcessedImageField( upload_to='background_img/unit/')), ('desc', models.CharField( default='Description for the unit goes here!', max_length=100)), ('subject', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='main.subject')), ], ), migrations.CreateModel( name='SubUnit', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('slug', models.SlugField(blank=True, null=True)), ('title', models.CharField(max_length=255)), ('image', imagekit.models.fields.ProcessedImageField( upload_to='background_img/subunit/')), ('desc', models.CharField( default='Description for the subunit goes here!', max_length=100)), ('unit', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='main.unit')), ], ), migrations.CreateModel( name='Flashcard', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('slug', models.SlugField(blank=True, null=True)), ('title', models.CharField(max_length=100)), ('last_updated', models.DateField()), ('content_brief', markdownx.models.MarkdownxField()), ('content_summary', models.TextField()), ('cheat_sheet', models.TextField()), ('image', imagekit.models.fields.ProcessedImageField( upload_to='background_img/card/')), ('subunit', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='main.subunit')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('taggit', '0003_taggeditem_add_unique_index'), ] operations = [ migrations.CreateModel( name='FAQ', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('order', models.PositiveIntegerField(db_index=True, editable=False, verbose_name='order')), ('notes', models.TextField(blank=True, help_text='Internal notes or description.', null=True)), ('created_at', models.DateTimeField(auto_now_add=True, help_text='A timestamp of when the object is first created.')), ('updated_at', models.DateTimeField(auto_now=True, help_text='A timestamp of the last time when the object was modified.')), ('question', models.CharField(max_length=255)), ('answer', markdownx.models.MarkdownxField()), ], options={ 'ordering': ('order',), 'abstract': False, }, ), migrations.CreateModel( name='Link', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('notes', models.TextField(blank=True, help_text='Internal notes or description.', null=True)), ('created_at', models.DateTimeField(auto_now_add=True, help_text='A timestamp of when the object is first created.')), ('updated_at', models.DateTimeField(auto_now=True, help_text='A timestamp of the last time when the object was modified.')), ('url', models.URLField(max_length=2000)), ('title', models.CharField(blank=True, max_length=255, null=True)), ('label', models.CharField(blank=True, max_length=255, null=True)), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='Scholarship', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('notes', models.TextField(blank=True, help_text='Internal notes or description.', null=True)), ('created_at', models.DateTimeField(auto_now_add=True, help_text='A timestamp of when the object is first created.')), ('updated_at', models.DateTimeField(auto_now=True, help_text='A timestamp of the last time when the object was modified.')), ('license', models.CharField(blank=True, help_text='The Creative Commons licence associated to the legal resource.', max_length=50, null=True)), ('contributor_name', models.CharField(max_length=120)), ('contributor_email', models.EmailField(max_length=254)), ('summary', models.TextField(blank=True, null=True)), ('status', models.PositiveSmallIntegerField(choices=[(1, 'Unreviewed'), (2, 'Review in Progress'), (3, 'Published'), (4, 'Rejected')], default=1, help_text='The stage of the review process where the resource is.')), ('title', models.CharField(blank=True, max_length=255, null=True)), ('publication_name', models.CharField(blank=True, max_length=255, null=True)), ('publication_year', models.PositiveSmallIntegerField(blank=True, null=True)), ('authors', models.CharField(blank=True, max_length=255, null=True)), ('link', models.ForeignKey(help_text='The link to the article.', on_delete=django.db.models.deletion.CASCADE, to='legal_db.Link')), ('tags', taggit.managers.TaggableManager(blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='Case', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('notes', models.TextField(blank=True, help_text='Internal notes or description.', null=True)), ('created_at', models.DateTimeField(auto_now_add=True, help_text='A timestamp of when the object is first created.')), ('updated_at', models.DateTimeField(auto_now=True, help_text='A timestamp of the last time when the object was modified.')), ('license', models.CharField(blank=True, help_text='The Creative Commons licence associated to the legal resource.', max_length=50, null=True)), ('contributor_name', models.CharField(max_length=120)), ('contributor_email', models.EmailField(max_length=254)), ('summary', models.TextField(blank=True, null=True)), ('status', models.PositiveSmallIntegerField(choices=[(1, 'Unreviewed'), (2, 'Review in Progress'), (3, 'Published'), (4, 'Rejected')], default=1, help_text='The stage of the review process where the resource is.')), ('name', models.CharField(blank=True, help_text='If there are multiple lawsuits between the parties, please just include one here and note the others in the related cases field.', max_length=200, null=True)), ('related_cases', models.CharField(blank=True, help_text='If there are multiple lawsuits between the parties in this dispute, please note additional cases here.', max_length=255, null=True)), ('country', django_countries.fields.CountryField(blank=True, max_length=2, null=True)), ('courts', models.CharField(blank=True, help_text='The original court name and/or English translation. If the lawsuit was filed in one court and then went to another court on appeal, please note all relevant courts here.', max_length=255, null=True)), ('background', models.TextField(blank=True, help_text='Describe the factual information that led to the lawsuit being filed, and explain what claims were filed in the lawsuit.', null=True)), ('decision_year', models.PositiveSmallIntegerField(blank=True, help_text='Year of case resolution.', null=True)), ('is_pending', models.BooleanField(blank=True, help_text='Indicate if is an ongoing case or not.', null=True)), ('links', models.ManyToManyField(help_text='Include any links to pleadings, briefs, and opinions in the lawsuit, as well as blog posts, academic articles, or other relevant materials.', to='legal_db.Link')), ('tags', taggit.managers.TaggableManager(blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')), ], options={ 'abstract': False, }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('user_manager', '0001_initial'), ('docs_manager', '0001_initial'), ('git_manager', '0001_initial'), ] operations = [ migrations.CreateModel( name='Category', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')), ('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')), ('name', models.CharField(max_length=255)), ('description', models.TextField(blank=True, null=True)), ('slug', autoslug.fields.AutoSlugField(editable=False, populate_from='name')), ('parent', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='marketplace.Category')), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='Language', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')), ('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')), ('language', models.CharField(max_length=255)), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='Package', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')), ('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')), ('name', models.CharField(max_length=255, unique=True)), ('description', models.TextField()), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='PackageResource', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')), ('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')), ('resource', markdownx.models.MarkdownxField()), ('url', models.URLField(null=True)), ('added_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user_manager.WorkbenchUser')), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='PackageVersion', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')), ('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')), ('version_nr', models.CharField(max_length=50)), ('changelog', models.TextField()), ('pre_release', models.BooleanField(default=False)), ('url', models.URLField(null=True)), ('added_by', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='user_manager.WorkbenchUser')), ], ), migrations.CreateModel( name='ExternalPackage', fields=[ ('package_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='marketplace.Package')), ('project_page', models.URLField()), ], options={ 'abstract': False, }, bases=('marketplace.package',), ), migrations.CreateModel( name='InternalPackage', fields=[ ('package_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='marketplace.Package')), ('published', models.BooleanField(default=False)), ('docs', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='docs_manager.Docs')), ('git_repo', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='git_manager.GitRepository')), ], options={ 'abstract': False, }, bases=('marketplace.package',), ), migrations.AddField( model_name='packageversion', name='package', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='marketplace.Package'), ), migrations.AddField( model_name='packageresource', name='package', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='marketplace.Package'), ), migrations.AddField( model_name='package', name='category', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='marketplace.Category'), ), migrations.AddField( model_name='package', name='language', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='marketplace.Language'), ), migrations.AddField( model_name='package', name='owner', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='owner', to='user_manager.WorkbenchUser'), ), migrations.AddField( model_name='package', name='subscribed_users', field=models.ManyToManyField(to='user_manager.WorkbenchUser'), ), migrations.AlterUniqueTogether( name='packageversion', unique_together=set([('package', 'version_nr')]), ), ]