Skip to content

Commit de42d74

Browse files
Custom Markdown Renderer (#202)
* alembic and model * Submodule update --------- Co-authored-by: JWittmeyer <[email protected]>
1 parent 2b6fc34 commit de42d74

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
"""adds_cognition_facts_grouping_attribute
2+
3+
Revision ID: 7edb03b88c03
4+
Revises: 4861b97fcd5d
5+
Create Date: 2024-04-09 14:43:22.793156
6+
7+
"""
8+
9+
from alembic import op
10+
import sqlalchemy as sa
11+
12+
13+
# revision identifiers, used by Alembic.
14+
revision = "7edb03b88c03"
15+
down_revision = "889ef4df126f"
16+
branch_labels = None
17+
depends_on = None
18+
19+
20+
def upgrade():
21+
# ### commands auto generated by Alembic - please adjust! ###
22+
op.add_column(
23+
"project",
24+
sa.Column("facts_grouping_attribute", sa.String(), nullable=True),
25+
schema="cognition",
26+
)
27+
# ### end Alembic commands ###
28+
29+
30+
def downgrade():
31+
# ### commands auto generated by Alembic - please adjust! ###
32+
op.drop_column("project", "facts_grouping_attribute", schema="cognition")
33+
# ### end Alembic commands ###

0 commit comments

Comments
 (0)