Commit da30a448 authored by Vojtech Sodoma's avatar Vojtech Sodoma

2573 Add column internal to route

parent cd6b6aeb
xivo-dao (2019.05.06) xivo-callisto; urgency=medium
* 2573 Outcall migration to Route - migrate the 'internal' checkbox
-- Vojtech Sodoma <vsodoma@avencall.com> Thu, 06 Jun 2019 14:21:55 +0200
xivo-dao (2019.05.02) xivo-callisto; urgency=medium
* 2506 Generate hint only on mds where the user belongs
......
......@@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>
from sqlalchemy.schema import Column, PrimaryKeyConstraint
from sqlalchemy.types import Integer, String, Text
from sqlalchemy.types import Integer, String, Text, Boolean
from xivo_dao.helpers.db_manager import Base
......@@ -31,3 +31,4 @@ class Route(Base):
subroutine = Column(String, nullable=True)
description = Column(Text)
priority = Column(Integer, nullable=False)
internal = Column(Boolean, nullable=False, server_default='False')
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