Commit a958bda24fc031204c4ff054e716310bb887c0fb

Authored by Etienne Pallier
1 parent be3c4b48
Exists in master and in 1 other branch dev

ignore

Showing 1 changed file with 523 additions and 0 deletions   Show diff stats
src/pyrosapp/migrations/0001_initial.py 0 → 100644
... ... @@ -0,0 +1,523 @@
  1 +# -*- coding: utf-8 -*-
  2 +# Generated by Django 1.9.4 on 2016-03-24 17:01
  3 +from __future__ import unicode_literals
  4 +
  5 +from django.conf import settings
  6 +from django.db import migrations, models
  7 +import django.db.models.deletion
  8 +
  9 +
  10 +class Migration(migrations.Migration):
  11 +
  12 + initial = True
  13 +
  14 + dependencies = [
  15 + migrations.swappable_dependency(settings.AUTH_USER_MODEL),
  16 + ]
  17 +
  18 + operations = [
  19 + migrations.CreateModel(
  20 + name='Album',
  21 + fields=[
  22 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  23 + ('name', models.CharField(blank=True, max_length=45, null=True)),
  24 + ('desc', models.TextField(blank=True, null=True)),
  25 + ('created', models.DateTimeField(blank=True, null=True)),
  26 + ('updated', models.DateTimeField(blank=True, null=True)),
  27 + ],
  28 + options={
  29 + 'db_table': 'album',
  30 + 'managed': True,
  31 + },
  32 + ),
  33 + migrations.CreateModel(
  34 + name='Alert',
  35 + fields=[
  36 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  37 + ('voevent_xml', models.TextField(blank=True, null=True)),
  38 + ('type', models.CharField(blank=True, max_length=45, null=True)),
  39 + ('client', models.CharField(blank=True, max_length=45, null=True)),
  40 + ('burst_jd', models.CharField(blank=True, max_length=45, null=True)),
  41 + ('burst_ra', models.CharField(blank=True, max_length=45, null=True)),
  42 + ('burst_dec', models.CharField(blank=True, max_length=45, null=True)),
  43 + ('equinox', models.CharField(blank=True, max_length=45, null=True)),
  44 + ('jd_pkt', models.IntegerField(blank=True, null=True)),
  45 + ('jd_send', models.IntegerField(blank=True, null=True)),
  46 + ('jd_received', models.IntegerField(blank=True, null=True)),
  47 + ('trigger_instrum', models.CharField(blank=True, max_length=45, null=True)),
  48 + ('trigger_num', models.CharField(blank=True, max_length=45, null=True)),
  49 + ('grb_error', models.CharField(blank=True, max_length=45, null=True)),
  50 + ('def_not_grb', models.IntegerField(blank=True, null=True)),
  51 + ('editor', models.CharField(blank=True, max_length=45, null=True)),
  52 + ('flag', models.CharField(blank=True, max_length=45, null=True)),
  53 + ('idgcn_notice', models.IntegerField(blank=True, null=True)),
  54 + ],
  55 + options={
  56 + 'db_table': 'alert',
  57 + 'managed': True,
  58 + },
  59 + ),
  60 + migrations.CreateModel(
  61 + name='Country',
  62 + fields=[
  63 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  64 + ('name', models.CharField(blank=True, max_length=45, null=True)),
  65 + ('desc', models.TextField(blank=True, null=True)),
  66 + ('quota', models.FloatField(blank=True, null=True)),
  67 + ],
  68 + options={
  69 + 'db_table': 'country',
  70 + 'managed': True,
  71 + },
  72 + ),
  73 + migrations.CreateModel(
  74 + name='Detector',
  75 + fields=[
  76 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  77 + ('status', models.CharField(blank=True, max_length=7, null=True)),
  78 + ('nb_photo_x', models.IntegerField(blank=True, null=True)),
  79 + ('nb_photo_y', models.IntegerField(blank=True, null=True)),
  80 + ('photo_size_x', models.IntegerField(blank=True, null=True)),
  81 + ('photo_size_y', models.IntegerField(blank=True, null=True)),
  82 + ('has_shutter', models.IntegerField(blank=True, null=True)),
  83 + ('equivalent_foc_len', models.CharField(blank=True, max_length=45, null=True)),
  84 + ('acq_start', models.DateTimeField(blank=True, null=True)),
  85 + ('acq_stop', models.DateTimeField(blank=True, null=True)),
  86 + ('check_temp', models.FloatField(blank=True, null=True)),
  87 + ('gain', models.FloatField(blank=True, null=True)),
  88 + ('readout_noise', models.FloatField(blank=True, null=True)),
  89 + ('readout_time', models.FloatField(blank=True, null=True)),
  90 + ('idcam_readout_mode', models.IntegerField(blank=True, null=True)),
  91 + ],
  92 + options={
  93 + 'db_table': 'detector',
  94 + 'managed': True,
  95 + },
  96 + ),
  97 + migrations.CreateModel(
  98 + name='Device',
  99 + fields=[
  100 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  101 + ('name', models.CharField(blank=True, max_length=45, null=True)),
  102 + ('desc', models.TextField(blank=True, null=True)),
  103 + ('created', models.DateTimeField(blank=True, null=True)),
  104 + ('updated', models.DateTimeField(blank=True, null=True)),
  105 + ('is_online', models.IntegerField(blank=True, null=True)),
  106 + ('status', models.CharField(blank=True, max_length=11, null=True)),
  107 + ('maintenance_date', models.DateTimeField(blank=True, null=True)),
  108 + ],
  109 + options={
  110 + 'db_table': 'device',
  111 + 'managed': True,
  112 + },
  113 + ),
  114 + migrations.CreateModel(
  115 + name='Filter',
  116 + fields=[
  117 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  118 + ('category', models.CharField(blank=True, max_length=1, null=True)),
  119 + ('transmission_curve_doc', models.CharField(blank=True, max_length=45, null=True)),
  120 + ('detector', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='filters', to='pyrosapp.Detector')),
  121 + ('device', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='pyrosapp.Device')),
  122 + ],
  123 + options={
  124 + 'db_table': 'filter',
  125 + 'managed': True,
  126 + },
  127 + ),
  128 + migrations.CreateModel(
  129 + name='Image',
  130 + fields=[
  131 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  132 + ('name', models.CharField(blank=True, max_length=45, null=True)),
  133 + ('desc', models.TextField(blank=True, null=True)),
  134 + ('created', models.DateTimeField(blank=True, null=True)),
  135 + ('updated', models.DateTimeField(blank=True, null=True)),
  136 + ('date_from_gps', models.CharField(blank=True, max_length=45, null=True)),
  137 + ('level', models.IntegerField(blank=True, null=True)),
  138 + ('type', models.CharField(blank=True, max_length=5, null=True)),
  139 + ('quality', models.CharField(blank=True, max_length=45, null=True)),
  140 + ('flaggps', models.CharField(blank=True, max_length=45, null=True)),
  141 + ('exposure', models.CharField(blank=True, max_length=45, null=True)),
  142 + ('tempext', models.CharField(blank=True, max_length=45, null=True)),
  143 + ('pressure', models.CharField(blank=True, max_length=45, null=True)),
  144 + ('humidext', models.CharField(blank=True, max_length=45, null=True)),
  145 + ('wind', models.CharField(blank=True, max_length=45, null=True)),
  146 + ('wind_dir', models.CharField(blank=True, max_length=45, null=True)),
  147 + ('dwnimg', models.CharField(blank=True, max_length=45, null=True)),
  148 + ('dwncata', models.CharField(blank=True, max_length=45, null=True)),
  149 + ('dwn', models.CharField(blank=True, max_length=45, null=True)),
  150 + ('level0_fits_name', models.CharField(blank=True, max_length=45, null=True)),
  151 + ('level1a_fits_name', models.CharField(blank=True, max_length=45, null=True)),
  152 + ('level1b_fits_name', models.CharField(blank=True, max_length=45, null=True)),
  153 + ],
  154 + options={
  155 + 'db_table': 'image',
  156 + 'managed': True,
  157 + },
  158 + ),
  159 + migrations.CreateModel(
  160 + name='NrtAnalysis',
  161 + fields=[
  162 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  163 + ('name', models.CharField(blank=True, max_length=45, null=True)),
  164 + ('desc', models.TextField(blank=True, null=True)),
  165 + ('created', models.DateTimeField(blank=True, null=True)),
  166 + ('updated', models.DateTimeField(blank=True, null=True)),
  167 + ('analysis', models.TextField(blank=True, null=True)),
  168 + ],
  169 + options={
  170 + 'db_table': 'nrtanalysis',
  171 + 'managed': True,
  172 + },
  173 + ),
  174 + migrations.CreateModel(
  175 + name='Plan',
  176 + fields=[
  177 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  178 + ('name', models.CharField(blank=True, max_length=45, null=True)),
  179 + ('desc', models.CharField(blank=True, max_length=45, null=True)),
  180 + ('created', models.DateTimeField(blank=True, null=True)),
  181 + ('updated', models.DateTimeField(blank=True, null=True)),
  182 + ('duration', models.FloatField(blank=True, null=True)),
  183 + ('position', models.CharField(blank=True, max_length=45, null=True)),
  184 + ('exposure_time', models.FloatField(blank=True, null=True)),
  185 + ('nb_images', models.IntegerField(blank=True, null=True)),
  186 + ('dithering', models.IntegerField(blank=True, null=True)),
  187 + ('album', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='plans', to='pyrosapp.Album')),
  188 + ('filter', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='plans', to='pyrosapp.Filter')),
  189 + ],
  190 + options={
  191 + 'db_table': 'plan',
  192 + 'managed': True,
  193 + },
  194 + ),
  195 + migrations.CreateModel(
  196 + name='PyrosUser',
  197 + fields=[
  198 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  199 + ('desc', models.TextField(blank=True, null=True)),
  200 + ('desce', models.TextField(blank=True, null=True)),
  201 + ('created', models.DateTimeField(blank=True, null=True)),
  202 + ('updated', models.DateTimeField(blank=True, null=True)),
  203 + ('url', models.CharField(blank=True, max_length=45, null=True)),
  204 + ('tel1', models.CharField(blank=True, max_length=45, null=True)),
  205 + ('tel2', models.CharField(blank=True, max_length=45, null=True)),
  206 + ('address', models.CharField(blank=True, max_length=45, null=True)),
  207 + ('last_connect', models.DateTimeField(blank=True, null=True)),
  208 + ('cur_connect', models.DateTimeField(blank=True, null=True)),
  209 + ('putvalid_beg', models.DateTimeField(blank=True, null=True)),
  210 + ('putvalid_end', models.DateTimeField(blank=True, null=True)),
  211 + ('acqvalid_beg', models.CharField(blank=True, max_length=45, null=True)),
  212 + ('acqvalid_end', models.CharField(blank=True, max_length=45, null=True)),
  213 + ('quota', models.FloatField(blank=True, null=True)),
  214 + ('quota_rea', models.FloatField(blank=True, null=True)),
  215 + ('u_priority', models.IntegerField(blank=True, null=True)),
  216 + ('p_priority', models.IntegerField(blank=True, null=True)),
  217 + ('dir_level', models.IntegerField(blank=True, null=True)),
  218 + ('can_del_void_req', models.IntegerField(blank=True, null=True)),
  219 + ('country', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='pyros_users', to='pyrosapp.Country')),
  220 + ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
  221 + ],
  222 + options={
  223 + 'db_table': 'pyros_user',
  224 + 'managed': True,
  225 + },
  226 + ),
  227 + migrations.CreateModel(
  228 + name='Request',
  229 + fields=[
  230 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  231 + ('name', models.CharField(blank=True, max_length=45, null=True)),
  232 + ('desc', models.TextField(blank=True, null=True)),
  233 + ('created', models.DateTimeField(blank=True, null=True)),
  234 + ('updated', models.DateTimeField(blank=True, null=True)),
  235 + ('is_alert', models.IntegerField(blank=True, null=True)),
  236 + ('type', models.CharField(blank=True, max_length=8, null=True)),
  237 + ('status', models.CharField(blank=True, max_length=10, null=True)),
  238 + ('target_or_theme', models.CharField(blank=True, max_length=45, null=True)),
  239 + ('priority', models.IntegerField(blank=True, null=True)),
  240 + ('autodeposit', models.IntegerField(blank=True, null=True)),
  241 + ('checkpoint', models.CharField(blank=True, max_length=45, null=True)),
  242 + ('flag', models.CharField(blank=True, max_length=45, null=True)),
  243 + ('pyros_user', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='requests', to='pyrosapp.PyrosUser')),
  244 + ],
  245 + options={
  246 + 'db_table': 'request',
  247 + 'managed': True,
  248 + },
  249 + ),
  250 + migrations.CreateModel(
  251 + name='Schedule',
  252 + fields=[
  253 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  254 + ('created', models.DateTimeField(blank=True, null=True)),
  255 + ('day_start', models.DateTimeField(blank=True, null=True)),
  256 + ('day_stop', models.DateTimeField(blank=True, null=True)),
  257 + ('flag', models.CharField(blank=True, max_length=45, null=True)),
  258 + ],
  259 + options={
  260 + 'db_table': 'schedule',
  261 + 'managed': True,
  262 + },
  263 + ),
  264 + migrations.CreateModel(
  265 + name='ScheduleHistory',
  266 + fields=[
  267 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  268 + ('created', models.DateTimeField(blank=True, null=True)),
  269 + ('day_start', models.DateTimeField(blank=True, null=True)),
  270 + ('day_stop', models.DateTimeField(blank=True, null=True)),
  271 + ('flag', models.CharField(blank=True, max_length=45, null=True)),
  272 + ],
  273 + options={
  274 + 'db_table': 'schedulehistory',
  275 + 'managed': True,
  276 + },
  277 + ),
  278 + migrations.CreateModel(
  279 + name='ScientificProgram',
  280 + fields=[
  281 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  282 + ('name', models.CharField(blank=True, max_length=45, null=True)),
  283 + ('desc', models.TextField(blank=True, null=True)),
  284 + ('quota', models.FloatField(blank=True, null=True)),
  285 + ('priority', models.IntegerField(blank=True, null=True)),
  286 + ('pyros_users', models.ManyToManyField(related_name='scientificprograms', to='pyrosapp.PyrosUser')),
  287 + ],
  288 + options={
  289 + 'db_table': 'scientificprogram',
  290 + 'managed': True,
  291 + },
  292 + ),
  293 + migrations.CreateModel(
  294 + name='Sequence',
  295 + fields=[
  296 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  297 + ('name', models.CharField(blank=True, max_length=45, null=True)),
  298 + ('desc', models.TextField(blank=True, null=True)),
  299 + ('created', models.DateTimeField(blank=True, null=True)),
  300 + ('updated', models.DateTimeField(blank=True, null=True)),
  301 + ('is_alert', models.IntegerField(blank=True, null=True)),
  302 + ('status', models.CharField(blank=True, max_length=11, null=True)),
  303 + ('duration', models.FloatField(blank=True, null=True)),
  304 + ('pointing', models.CharField(blank=True, max_length=45, null=True)),
  305 + ('with_drift', models.IntegerField(blank=True, null=True)),
  306 + ('priority', models.IntegerField(blank=True, null=True)),
  307 + ('analysis_method', models.CharField(blank=True, max_length=45, null=True)),
  308 + ('exec_start', models.DateTimeField()),
  309 + ('exec_stop', models.DateTimeField(blank=True, null=True)),
  310 + ('moon_min', models.IntegerField(blank=True, null=True)),
  311 + ('alt_min', models.IntegerField(blank=True, null=True)),
  312 + ('type', models.CharField(blank=True, max_length=6, null=True)),
  313 + ('img_current', models.CharField(blank=True, max_length=45, null=True)),
  314 + ('img_total', models.CharField(blank=True, max_length=45, null=True)),
  315 + ('not_obs', models.IntegerField(blank=True, null=True)),
  316 + ('obsolete', models.IntegerField(blank=True, null=True)),
  317 + ('processing', models.IntegerField(blank=True, null=True)),
  318 + ('flag', models.CharField(blank=True, max_length=45, null=True)),
  319 + ('request', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='sequences', to='pyrosapp.Request')),
  320 + ('schedule', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='sequences', to='pyrosapp.Schedule')),
  321 + ],
  322 + options={
  323 + 'db_table': 'sequence',
  324 + 'managed': True,
  325 + },
  326 + ),
  327 + migrations.CreateModel(
  328 + name='SequenceType',
  329 + fields=[
  330 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  331 + ('name', models.CharField(blank=True, max_length=45, null=True)),
  332 + ('desc', models.TextField(blank=True, null=True)),
  333 + ('priority', models.IntegerField(blank=True, null=True)),
  334 + ],
  335 + options={
  336 + 'db_table': 'sequencetype',
  337 + 'managed': True,
  338 + },
  339 + ),
  340 + migrations.CreateModel(
  341 + name='SiteWatch',
  342 + fields=[
  343 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  344 + ('updated', models.DateTimeField(blank=True, null=True)),
  345 + ('lights', models.CharField(blank=True, max_length=45, null=True)),
  346 + ('dome', models.CharField(blank=True, max_length=45, null=True)),
  347 + ('doors', models.CharField(blank=True, max_length=45, null=True)),
  348 + ('temperature', models.FloatField(blank=True, null=True)),
  349 + ],
  350 + options={
  351 + 'db_table': 'sitewatch',
  352 + 'managed': True,
  353 + },
  354 + ),
  355 + migrations.CreateModel(
  356 + name='SiteWatchHistory',
  357 + fields=[
  358 + ('id', models.IntegerField(primary_key=True, serialize=False)),
  359 + ],
  360 + options={
  361 + 'db_table': 'sitewatchhistory',
  362 + 'managed': True,
  363 + },
  364 + ),
  365 + migrations.CreateModel(
  366 + name='StrategyObs',
  367 + fields=[
  368 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  369 + ('name', models.CharField(blank=True, max_length=45, null=True)),
  370 + ('desc', models.TextField(blank=True, null=True)),
  371 + ('json_file', models.CharField(blank=True, max_length=45, null=True)),
  372 + ],
  373 + options={
  374 + 'db_table': 'strategyobs',
  375 + 'managed': True,
  376 + },
  377 + ),
  378 + migrations.CreateModel(
  379 + name='Telescope',
  380 + fields=[
  381 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  382 + ('mount_type', models.CharField(blank=True, max_length=9, null=True)),
  383 + ('diameter', models.FloatField(blank=True, null=True)),
  384 + ('status', models.CharField(blank=True, max_length=45, null=True)),
  385 + ('latitude', models.FloatField(blank=True, null=True)),
  386 + ('longitude', models.FloatField(blank=True, null=True)),
  387 + ('sens', models.CharField(blank=True, max_length=1, null=True)),
  388 + ('altitude', models.FloatField(blank=True, null=True)),
  389 + ('readout_time', models.IntegerField(blank=True, null=True)),
  390 + ('slew_time', models.IntegerField(blank=True, null=True)),
  391 + ('slew_dead', models.IntegerField(blank=True, null=True)),
  392 + ('slew_rate_max', models.FloatField(blank=True, null=True)),
  393 + ('horizon_type', models.CharField(blank=True, max_length=45, null=True)),
  394 + ('horizon_def', models.FloatField(blank=True, null=True)),
  395 + ('lim_dec_max', models.FloatField(blank=True, null=True)),
  396 + ('lim_dec_min', models.FloatField(blank=True, null=True)),
  397 + ('lim_ha_rise', models.FloatField(blank=True, null=True)),
  398 + ('lim_ha_set', models.FloatField(blank=True, null=True)),
  399 + ('address', models.CharField(blank=True, max_length=45, null=True)),
  400 + ('night_elev_sun', models.FloatField(blank=True, null=True)),
  401 + ('mpc_code', models.CharField(blank=True, max_length=45, null=True)),
  402 + ('device', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='pyrosapp.Device')),
  403 + ],
  404 + options={
  405 + 'db_table': 'telescope',
  406 + 'managed': True,
  407 + },
  408 + ),
  409 + migrations.CreateModel(
  410 + name='UserLevel',
  411 + fields=[
  412 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  413 + ('name', models.CharField(blank=True, max_length=45, null=True)),
  414 + ('desc', models.TextField(blank=True, null=True)),
  415 + ('priority', models.IntegerField(blank=True, null=True)),
  416 + ('quota', models.FloatField(blank=True, null=True)),
  417 + ],
  418 + options={
  419 + 'db_table': 'userlevel',
  420 + 'managed': True,
  421 + },
  422 + ),
  423 + migrations.CreateModel(
  424 + name='WeatherWatch',
  425 + fields=[
  426 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  427 + ('updated', models.DateTimeField(blank=True, null=True)),
  428 + ('humid_int', models.FloatField(blank=True, null=True)),
  429 + ('humid_ext', models.FloatField(blank=True, null=True)),
  430 + ('wind', models.FloatField(blank=True, null=True)),
  431 + ('wind_dir', models.CharField(blank=True, max_length=1, null=True)),
  432 + ('temp_int', models.FloatField(blank=True, null=True)),
  433 + ('temp_ext', models.FloatField(blank=True, null=True)),
  434 + ('pressure', models.FloatField(blank=True, null=True)),
  435 + ('rain', models.FloatField(blank=True, null=True)),
  436 + ('dwn', models.CharField(blank=True, max_length=45, null=True)),
  437 + ],
  438 + options={
  439 + 'db_table': 'weatherwatch',
  440 + 'managed': True,
  441 + },
  442 + ),
  443 + migrations.CreateModel(
  444 + name='WeatherWatchHistory',
  445 + fields=[
  446 + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  447 + ('datetime', models.DateTimeField(blank=True, null=True)),
  448 + ('humid_int', models.CharField(blank=True, max_length=45, null=True)),
  449 + ('humid_ext', models.CharField(blank=True, max_length=45, null=True)),
  450 + ('wind', models.CharField(blank=True, max_length=45, null=True)),
  451 + ('wind_dir', models.CharField(blank=True, max_length=45, null=True)),
  452 + ('temp_int', models.CharField(blank=True, max_length=45, null=True)),
  453 + ('temp_ext', models.CharField(blank=True, max_length=45, null=True)),
  454 + ('pressure', models.CharField(blank=True, max_length=45, null=True)),
  455 + ('rain', models.CharField(blank=True, max_length=45, null=True)),
  456 + ('dwn', models.CharField(blank=True, max_length=45, null=True)),
  457 + ],
  458 + options={
  459 + 'db_table': 'weatherwatchhistory',
  460 + 'managed': True,
  461 + },
  462 + ),
  463 + migrations.AddField(
  464 + model_name='sequence',
  465 + name='sequencetype',
  466 + field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='sequences', to='pyrosapp.SequenceType'),
  467 + ),
  468 + migrations.AddField(
  469 + model_name='schedulehistory',
  470 + name='sequences',
  471 + field=models.ManyToManyField(related_name='schedulehistories', to='pyrosapp.Sequence'),
  472 + ),
  473 + migrations.AddField(
  474 + model_name='request',
  475 + name='scientificprogram',
  476 + field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='requests', to='pyrosapp.ScientificProgram'),
  477 + ),
  478 + migrations.AddField(
  479 + model_name='pyrosuser',
  480 + name='userlevel',
  481 + field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='pyros_users', to='pyrosapp.UserLevel'),
  482 + ),
  483 + migrations.AddField(
  484 + model_name='image',
  485 + name='nrtanalysis',
  486 + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='images', to='pyrosapp.NrtAnalysis'),
  487 + ),
  488 + migrations.AddField(
  489 + model_name='image',
  490 + name='plan',
  491 + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='images', to='pyrosapp.Plan'),
  492 + ),
  493 + migrations.AddField(
  494 + model_name='detector',
  495 + name='device',
  496 + field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='pyrosapp.Device'),
  497 + ),
  498 + migrations.AddField(
  499 + model_name='detector',
  500 + name='telescope',
  501 + field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='detectors', to='pyrosapp.Telescope'),
  502 + ),
  503 + migrations.AddField(
  504 + model_name='alert',
  505 + name='request',
  506 + field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='pyrosapp.Request'),
  507 + ),
  508 + migrations.AddField(
  509 + model_name='alert',
  510 + name='strategyobs',
  511 + field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='alerts', to='pyrosapp.StrategyObs'),
  512 + ),
  513 + migrations.AddField(
  514 + model_name='album',
  515 + name='detector',
  516 + field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='albums', to='pyrosapp.Detector'),
  517 + ),
  518 + migrations.AddField(
  519 + model_name='album',
  520 + name='sequence',
  521 + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='albums', to='pyrosapp.Sequence'),
  522 + ),
  523 + ]
... ...