Initial commit (Clean history)

This commit is contained in:
anhduy-tech
2025-12-30 11:27:14 +07:00
commit ef48c93de0
19255 changed files with 3248867 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Generated by Django 4.2.4 on 2025-03-25 10:14
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('app', '0024_register_content'),
]
operations = [
migrations.CreateModel(
name='Datastory_Category',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('title', models.CharField(max_length=200)),
('create_time', models.DateTimeField(auto_now_add=True, null=True)),
('update_time', models.DateTimeField(auto_now=True, null=True)),
('category', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='+', to='app.story_category')),
('story', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='+', to='app.data_story')),
],
options={
'db_table': 'datastory_category',
'unique_together': {('story', 'category')},
},
),
]