Skip to content

Commit

Permalink
new migration
Browse files Browse the repository at this point in the history
  • Loading branch information
pat1 committed Aug 1, 2023
1 parent e490441 commit a4324c7
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions python/rpc/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Generated by Django 2.2.17 on 2023-08-01 00:29

from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import jsonfield.fields


class Migration(migrations.Migration):

initial = True

dependencies = [
('stations', '0036_auto_20230710_0909'),
]

operations = [
migrations.CreateModel(
name='Rpc',
fields=[
('dbid', models.AutoField(primary_key=True, serialize=False)),
('id', models.IntegerField(default=0, editable=False)),
('active', models.BooleanField(default=True, help_text='Active ticket', verbose_name='Active')),
('date', models.DateTimeField(default=django.utils.timezone.now, verbose_name='Date')),
('datecmd', models.DateTimeField(blank=True, default=None, null=True, verbose_name='Date command')),
('method', models.CharField(max_length=40, verbose_name='method')),
('params', jsonfield.fields.JSONField(blank=True, max_length=120, null=True, verbose_name='params')),
('dateres', models.DateTimeField(blank=True, default=None, null=True, verbose_name='Date reposnse')),
('result', jsonfield.fields.JSONField(blank=True, max_length=120, null=True, verbose_name='result')),
('error', jsonfield.fields.JSONField(blank=True, max_length=120, null=True, verbose_name='error')),
('stationmetadata', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='stations.StationMetadata')),
],
options={
'verbose_name': 'RPC',
'verbose_name_plural': 'RPCSs',
'ordering': ('-date', '-id'),
},
),
]

0 comments on commit a4324c7

Please sign in to comment.