mirror of
https://github.com/tanrax/simple-HTML-over-the-Wire-social-network-with-Django-and-stimulus.git
synced 2026-08-14 17:53:15 +02:00
28 lines
751 B
Python
28 lines
751 B
Python
# Generated by Django 4.0 on 2022-02-27 16:55
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Message',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('author', models.CharField(max_length=100)),
|
|
('text', models.TextField(max_length=200)),
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
|
],
|
|
options={
|
|
'verbose_name_plural': 'Messages',
|
|
'db_table': 'messages',
|
|
},
|
|
),
|
|
]
|