Add a missing column in 0b00036c540f_add_log_messages_table.py

This commit is contained in:
mprahl
2019-08-02 09:05:40 -04:00
parent 4f3692c711
commit f13b7308e1

View File

@@ -21,6 +21,7 @@ def upgrade():
sa.Column("component_build_id", sa.Integer(), nullable=True),
sa.Column("module_build_id", sa.Integer(), nullable=False),
sa.Column("message", sa.String(), nullable=False),
sa.Column("time_created", sa.DateTime(), nullable=False),
sa.ForeignKeyConstraint(["component_build_id"], ["component_builds.id"], ),
sa.ForeignKeyConstraint(["module_build_id"], ["module_builds.id"], ),
sa.PrimaryKeyConstraint("id"),