Commit 7b71ede7 authored by Francois Blackburn's avatar Francois Blackburn

outcall: allow context to be none

parent 97397d5f
......@@ -21,6 +21,7 @@ from sqlalchemy.ext.hybrid import hybrid_property
from sqlalchemy.orm import relationship
from sqlalchemy.schema import Column, PrimaryKeyConstraint, UniqueConstraint
from sqlalchemy.sql import func, cast, not_
from xivo_dao.alchemy.dialpattern import DialPattern
from sqlalchemy.types import Integer, String, Text, Boolean
from xivo_dao.helpers.db_manager import Base
......@@ -36,7 +37,7 @@ class Outcall(Base):
id = Column(Integer, nullable=False)
name = Column(String(128), nullable=False)
context = Column(String(39), nullable=False)
context = Column(String(39))
useenum = Column(Integer, nullable=False, server_default='0')
internal = Column(Integer, nullable=False, server_default='0')
preprocess_subroutine = Column(String(39))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment