first commit
This commit is contained in:
30
socials/migrations/0010_socialimg.py
Normal file
30
socials/migrations/0010_socialimg.py
Normal file
@@ -0,0 +1,30 @@
|
||||
# Generated by Django 5.1.1 on 2025-10-05 07:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('socials', '0009_sociallink_pub_link_sociallink_published'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='SocialImg',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('uri', models.CharField(blank=True, max_length=63, null=True)),
|
||||
('text', models.CharField(blank=True, max_length=515, null=True)),
|
||||
('img_link', models.URLField(blank=True, null=True)),
|
||||
('handle', models.CharField(blank=True, max_length=63, null=True)),
|
||||
('created_at', models.DateTimeField()),
|
||||
('platform', models.CharField(max_length=16)),
|
||||
],
|
||||
options={
|
||||
'verbose_name_plural': 'Social Images',
|
||||
'ordering': ['-created_at'],
|
||||
'unique_together': {('uri',)},
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user