1
# -*- encoding: utf-8 -*-
3
# Copyright © 2013 eNovance <licensing@enovance.com>
5
# Authors: Mehdi Abaakouk <mehdi.abaakouk@enovance.com>
7
# Licensed under the Apache License, Version 2.0 (the "License"); you may
8
# not use this file except in compliance with the License. You may obtain
9
# a copy of the License at
11
# http://www.apache.org/licenses/LICENSE-2.0
13
# Unless required by applicable law or agreed to in writing, software
14
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16
# License for the specific language governing permissions and limitations
18
"""Add column repeat_alarms
20
Revision ID: 43b1a023dfaa
22
Create Date: 2013-07-29 17:25:53.931326
26
# revision identifiers, used by Alembic.
27
revision = '43b1a023dfaa'
30
from alembic import op
31
import sqlalchemy as sa
35
op.add_column('alarm', sa.Column('repeat_actions',
37
server_default=sa.sql.expression.false()))
41
op.drop_column('alarm', 'repeat_actions')