Skip to content

Commit

Permalink
Adiciona arquivos de migração
Browse files Browse the repository at this point in the history
  • Loading branch information
Rossi-Luciano committed Oct 28, 2022
1 parent 7b91ece commit cd6f801
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
18 changes: 18 additions & 0 deletions usefulmodels/migrations/0009_country_capital.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.12 on 2022-10-28 13:22

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('usefulmodels', '0008_auto_20221027_1424'),
]

operations = [
migrations.AddField(
model_name='country',
name='capital',
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Capital of the Country'),
),
]
23 changes: 23 additions & 0 deletions usefulmodels/migrations/0010_auto_20221028_1327.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 3.2.12 on 2022-10-28 13:27

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('usefulmodels', '0009_country_capital'),
]

operations = [
migrations.RenameField(
model_name='country',
old_name='acronym2',
new_name='acron2',
),
migrations.RenameField(
model_name='country',
old_name='acronym',
new_name='acron3',
),
]

0 comments on commit cd6f801

Please sign in to comment.