generated from dopt-python/py311
update database schema for linking of persons and companies
This commit is contained in:
+2
-1
@@ -7,7 +7,7 @@ from pathlib import Path
|
||||
|
||||
import polars as pl
|
||||
import sqlalchemy as sql
|
||||
from sqlalchemy import Column, String, Table, TypeDecorator, event
|
||||
from sqlalchemy import Column, String, Table, TypeDecorator, UniqueConstraint, event
|
||||
|
||||
from wce_crm import constants
|
||||
from wce_crm import types as t
|
||||
@@ -420,6 +420,7 @@ zuordnung_personen_unternehmen: sql.Table = Table(
|
||||
UTCDateTime,
|
||||
nullable=True,
|
||||
),
|
||||
UniqueConstraint("un_id", "pers_id", name="uq_un_id_pers_id"),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user