Commit 5cdc654c authored by Pascal Cadotte Michaud's avatar Pascal Cadotte Michaud Committed by Etienne Lessard

directories: add the ldapfilter_id fk

parent 7577b21b
......@@ -15,6 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
from sqlalchemy import ForeignKey
from sqlalchemy.schema import Column, PrimaryKeyConstraint
from sqlalchemy.types import Boolean, Integer, String, Text
......@@ -39,3 +40,4 @@ class Directories(Base):
xivo_custom_ca_path = Column(Text)
dird_tenant = Column(Text)
dird_phonebook = Column(Text)
ldapfilter_id = Column(Integer, ForeignKey('ldapfilter.id', ondelete='CASCADE'), nullable=True)
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