seed script
This commit is contained in:
1 parent
fa9d154db9
commit
08c30aa47f
15 files changed
+496
-17
No files matched your search
@@ -0,0 +1,22 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [("core", "0005_sitebranding_company_logo_and_more")]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name="ProductionSeedState",
|
||||
fields=[
|
||||
("id", models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")),
|
||||
("bundle_sha256", models.CharField(max_length=64, unique=True)),
|
||||
("manifest", models.JSONField(default=dict)),
|
||||
("applied_at", models.DateTimeField(auto_now_add=True)),
|
||||
],
|
||||
options={
|
||||
"verbose_name": "وضعیت بذر Production",
|
||||
"verbose_name_plural": "وضعیت بذرهای Production",
|
||||
"ordering": ("-applied_at",),
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user