31 lines
1.3 KiB
Python
31 lines
1.3 KiB
Python
# Generated by Django 3.2.13 on 2022-06-10 15:24
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('astrobasis', '0072_delete_astrobasisusercat'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='AstroBasisUserCat',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('ra', models.FloatField(default=0.0)),
|
|
('dec', models.FloatField(default=0.0)),
|
|
('healpix', models.BigIntegerField(db_index=True, default=0)),
|
|
('error_radius', models.FloatField(default=0.0)),
|
|
('name', models.CharField(max_length=51, unique=True)),
|
|
('notes', models.TextField(blank=True, max_length=2000, null=True, verbose_name='notes')),
|
|
('bibcode', models.CharField(blank=True, default='', max_length=36)),
|
|
('autoname', models.BooleanField(default=False, help_text='Generate IAU name of the component in the form <b>NAME JHHMMSS.s+DDMMSS</b>, <br>where NAME is taken from the corresponding field above.')),
|
|
],
|
|
options={
|
|
'ordering': ['-id'],
|
|
},
|
|
),
|
|
]
|