alembic: fix erroneous commit for add_prune_on_boot

Added include for postgresql ENUM type and
redefined values in the same way as in the
other migration scripts.

ASTERISK-27254 #close

Change-Id: Id667304cdf3891b1c2f7d35fab3e2a84026159fa
This commit is contained in:
Florian Floimair
2017-09-05 18:08:02 +02:00
parent 9d79c39be2
commit e5985c9abe

View File

@@ -12,7 +12,10 @@ down_revision = '44ccced114ce'
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects.postgresql import ENUM
YESNO_NAME = 'yesno_values'
YESNO_VALUES = ['yes', 'no']
def upgrade():
############################# Enums ##############################