You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api_v2/migrations/0001_initial.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -95,11 +95,11 @@ class Migration(migrations.Migration):
95
95
},
96
96
),
97
97
migrations.CreateModel(
98
-
name='Ruleset',
98
+
name='GameSystem',
99
99
fields=[
100
100
('name', models.CharField(help_text='Name of the item.', max_length=100)),
101
101
('desc', models.TextField(help_text='Description of the game content item. Markdown.')),
102
-
('key', models.CharField(help_text='Unique key for the ruleset the document was published for.', max_length=100, primary_key=True, serialize=False)),
102
+
('key', models.CharField(help_text='Unique key for the gamesystem the document was published for.', max_length=100, primary_key=True, serialize=False)),
103
103
('content_prefix', models.CharField(blank=True, help_text='Short code prepended to content keys.', max_length=10)),
104
104
],
105
105
options={
@@ -533,8 +533,8 @@ class Migration(migrations.Migration):
533
533
),
534
534
migrations.AddField(
535
535
model_name='document',
536
-
name='ruleset',
537
-
field=models.ForeignKey(help_text="The document's game system that it was published for.", on_delete=django.db.models.deletion.CASCADE, to='api_v2.ruleset'),
536
+
name='gamesystem',
537
+
field=models.ForeignKey(help_text="The document's game system that it was published for.", on_delete=django.db.models.deletion.CASCADE, to='api_v2.gamesystem'),
0 commit comments