Add migrations
This commit is contained in:
23
core/migrations/0002_chat.py
Normal file
23
core/migrations/0002_chat.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.1.5 on 2025-02-05 20:55
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Chat',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('source_number', models.CharField(blank=True, max_length=32, null=True)),
|
||||
('source_uuid', models.CharField(blank=True, max_length=255, null=True)),
|
||||
('account', models.CharField(blank=True, max_length=32, null=True)),
|
||||
('ts', models.DateTimeField()),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user