File indexing completed on 2026-04-27 07:41:42
0001
0002
0003 from django.db import migrations, models
0004
0005
0006 class Migration(migrations.Migration):
0007
0008 dependencies = [
0009 ('monitor_app', '0018_update_existing_agents_workflow_enabled'),
0010 ]
0011
0012 operations = [
0013 migrations.CreateModel(
0014 name='PandaQueue',
0015 fields=[
0016 ('queue_name', models.CharField(max_length=100, primary_key=True, serialize=False, unique=True)),
0017 ('site', models.CharField(blank=True, max_length=100)),
0018 ('status', models.CharField(default='active', max_length=50)),
0019 ('queue_type', models.CharField(blank=True, max_length=50)),
0020 ('config_data', models.JSONField()),
0021 ('created_at', models.DateTimeField(auto_now_add=True)),
0022 ('updated_at', models.DateTimeField(auto_now=True)),
0023 ],
0024 options={
0025 'verbose_name': 'PanDA Queue',
0026 'verbose_name_plural': 'PanDA Queues',
0027 'db_table': 'swf_panda_queues',
0028 'ordering': ['queue_name'],
0029 },
0030 ),
0031 migrations.CreateModel(
0032 name='RucioEndpoint',
0033 fields=[
0034 ('endpoint_name', models.CharField(max_length=100, primary_key=True, serialize=False, unique=True)),
0035 ('site', models.CharField(blank=True, max_length=100)),
0036 ('endpoint_type', models.CharField(blank=True, max_length=50)),
0037 ('is_tape', models.BooleanField(default=False)),
0038 ('is_active', models.BooleanField(default=True)),
0039 ('config_data', models.JSONField()),
0040 ('created_at', models.DateTimeField(auto_now_add=True)),
0041 ('updated_at', models.DateTimeField(auto_now=True)),
0042 ],
0043 options={
0044 'verbose_name': 'Rucio Endpoint',
0045 'verbose_name_plural': 'Rucio Endpoints',
0046 'db_table': 'swf_rucio_endpoints',
0047 'ordering': ['endpoint_name'],
0048 },
0049 ),
0050 ]