Adding in the delete api and the delete and create UI.
This commit is contained in:
parent
43063272bb
commit
97d644d95d
12 changed files with 277 additions and 12 deletions
|
@ -0,0 +1,23 @@
|
|||
"""Add uuid to messages
|
||||
|
||||
Revision ID: c156deb8845d
|
||||
Revises: a3002f7638d5
|
||||
Create Date: 2016-10-11 15:44:29.450181
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'c156deb8845d'
|
||||
down_revision = 'a3002f7638d5'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
from sqlalchemy.dialects import mysql
|
||||
|
||||
|
||||
def upgrade(tables):
|
||||
op.add_column('messages', sa.Column('uuid', sa.String(length=36), nullable=True))
|
||||
|
||||
|
||||
def downgrade(tables):
|
||||
op.drop_column('messages', 'uuid')
|
Reference in a new issue