Commit before setting up a new deployment environment
This commit is contained in:
BIN
migrations/tenant/.DS_Store
vendored
Normal file
BIN
migrations/tenant/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
migrations/tenant/__pycache__/env.cpython-312.pyc
Normal file
BIN
migrations/tenant/__pycache__/env.cpython-312.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,30 @@
|
||||
"""Adding detailed_question information to Interaction
|
||||
|
||||
Revision ID: a3f3f5eaa3de
|
||||
Revises: 6fbceab656a8
|
||||
Create Date: 2024-06-12 17:26:46.985680
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'a3f3f5eaa3de'
|
||||
down_revision = '6fbceab656a8'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('interaction', sa.Column('detailed_question', sa.Text(), nullable=True))
|
||||
op.add_column('interaction', sa.Column('detailed_question_at', sa.DateTime(), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('interaction', 'detailed_question_at')
|
||||
op.drop_column('interaction', 'detailed_question')
|
||||
# ### end Alembic commands ###
|
||||
@@ -0,0 +1,28 @@
|
||||
"""Interaction appreciation should be NULL, not 100 as default
|
||||
|
||||
Revision ID: cb01c9192dc1
|
||||
Revises: a3f3f5eaa3de
|
||||
Create Date: 2024-06-14 07:06:50.522128
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'cb01c9192dc1'
|
||||
down_revision = 'a3f3f5eaa3de'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
pass
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
pass
|
||||
# ### end Alembic commands ###
|
||||
@@ -0,0 +1,30 @@
|
||||
"""Added timezone information of chat user to ChatSession and Interaction
|
||||
|
||||
Revision ID: d173cea8d204
|
||||
Revises: cb01c9192dc1
|
||||
Create Date: 2024-06-20 11:10:35.207702
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'd173cea8d204'
|
||||
down_revision = 'cb01c9192dc1'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('chat_session', sa.Column('timezone', sa.String(length=30), nullable=True))
|
||||
op.add_column('interaction', sa.Column('timezone', sa.String(length=30), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('interaction', 'timezone')
|
||||
op.drop_column('chat_session', 'timezone')
|
||||
# ### end Alembic commands ###
|
||||
Reference in New Issue
Block a user