feat: Add rules
This commit is contained in:
21
src/fellchensammlung/migrations/0002_rule.py
Normal file
21
src/fellchensammlung/migrations/0002_rule.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# Generated by Django 5.0.3 on 2024-03-20 09:54
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('fellchensammlung', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Rule',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('title', models.CharField(max_length=200)),
|
||||
('rule_text', models.TextField()),
|
||||
],
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user