Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f42dcdf5
authored
May 10, 2026
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update user_id column in text_printers table to be non-nullable
1 parent
b18224f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
opensipkd/base/alembic/versions/ab49cd111a36_initial_table_creation.py
opensipkd/base/alembic/versions/ab49cd111a36_initial_table_creation.py
0 → 100644
View file @
f42dcdf
"""Initial table creation
Revision ID: ab49cd111a36
Revises: 975f107434c6
Create Date: 2026-05-08 18:24:44.507154
"""
# revision identifiers, used by Alembic.
revision
=
'ab49cd111a36'
down_revision
=
'975f107434c6'
branch_labels
=
None
depends_on
=
None
from
alembic
import
op
import
sqlalchemy
as
sa
def
upgrade
():
# ### commands auto generated by Alembic - please adjust! ###
op
.
alter_column
(
'text_printers'
,
'user_id'
,
existing_type
=
sa
.
INTEGER
(),
nullable
=
False
)
# ### end Alembic commands ###
def
downgrade
():
# ### commands auto generated by Alembic - please adjust! ###
op
.
alter_column
(
'text_printers'
,
'user_id'
,
existing_type
=
sa
.
INTEGER
(),
nullable
=
True
)
# ### end Alembic commands ###
Write
Preview
Markdown
is supported
Attach a file
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 post a comment