Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 0013_auto_20250113_1443.py #720

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions tr_sys/tr_ars/migrations/0013_auto_20250113_1443.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,26 @@ class Migration(migrations.Migration):
]

operations = [
migrations.CreateModel(
name='Client',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('client_id', models.TextField(verbose_name='name of client')),
('client_secret', models.TextField(verbose_name='hash of client secret')),
('callback_url', models.URLField(max_length=256, verbose_name='default URL for the client')),
('date_created', models.DateTimeField()),
('date_secret_updated', models.DateTimeField()),
('active', models.BooleanField(default=False)),
('subscriptions', models.JSONField(null=True, verbose_name='List of pks to which a client is curently subscribed')),
],
options={
'abstract': False,
},
),
migrations.AddField(
model_name='message',
name='clients',
field=models.ManyToManyField(blank=True, related_name='messages', to='tr_ars.Client'),
),
]

Loading