Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OSUG
JMMC
jmmc-jmdcui-docker
Commits
d76b2978
Commit
d76b2978
authored
Jan 17, 2020
by
Guillaume Mella
Browse files
add rough support for star_info unknown_by_simbad
parent
9fd6534a
Changes
1
Hide whitespace changes
Inline
Side-by-side
jmdc-ui/jmdc_app/alembic/versions/20200117_e891b3cc374d.py
0 → 100644
View file @
d76b2978
"""add star_info.not_known_by_simbad
Revision ID: e891b3cc374d
Revises: 0197b06cd69d
Create Date: 2020-01-17 12:25:22.100925
"""
from
alembic
import
op
import
sqlalchemy
as
sa
# revision identifiers, used by Alembic.
revision
=
'e891b3cc374d'
down_revision
=
'0197b06cd69d'
branch_labels
=
None
depends_on
=
None
def
upgrade
():
# ### commands auto generated by Alembic - please adjust! ###
op
.
add_column
(
'star_info'
,
sa
.
Column
(
'unknown_by_simbad'
,
sa
.
Boolean
(),
nullable
=
True
))
# ### end Alembic commands ###
def
downgrade
():
# ### commands auto generated by Alembic - please adjust! ###
op
.
drop_column
(
'star_info'
,
'unknown_by_simbad'
)
# ### end Alembic commands ###
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment