first commit

This commit is contained in:
2025-09-19 15:19:32 +05:00
commit d160410cd9
305 changed files with 9509 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
# Generated by Django 5.1.3 on 2025-09-19 10:19
import django.contrib.postgres.fields
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='SettingsModel',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('key', models.CharField(verbose_name='key')),
('is_public', models.BooleanField(default=False, verbose_name='is public')),
('description', models.TextField(blank=True, null=True, verbose_name='description')),
],
options={
'verbose_name': 'Settings',
'verbose_name_plural': 'Settings',
'db_table': 'settings',
},
),
migrations.CreateModel(
name='OptionsModel',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('key', models.CharField(max_length=255, verbose_name='key')),
('value', django.contrib.postgres.fields.ArrayField(base_field=models.CharField(max_length=255, verbose_name='value'), size=None, verbose_name='value')),
('settings', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='options', to='shared.settingsmodel', verbose_name='settings')),
],
options={
'verbose_name': 'Options',
'verbose_name_plural': 'Options',
'db_table': 'options',
},
),
]

View File