This commit is contained in:
ITQ
2024-02-29 18:38:38 +03:00
parent efc4fd7638
commit fcf4499787
3 changed files with 1 additions and 28 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ WORKDIR /app
COPY . . COPY . .
CMD ["sh", "-c", "cd pulse && python3 manage.py migrate --fake countries && exec python3 manage.py runserver 0.0.0.0:$SERVER_PORT"] CMD ["sh", "-c", "cd pulse && python3 manage.py migrate && exec python3 manage.py runserver 0.0.0.0:$SERVER_PORT"]
@@ -1,27 +0,0 @@
# Generated by Django 4.2.10 on 2024-02-28 12:32
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Country',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=100)),
('alpha2', models.CharField(max_length=2)),
('alpha3', models.CharField(max_length=3)),
('region', models.CharField()),
],
options={
'db_table': 'countries',
},
),
]