Afrostream / afrostream-back-end

Simple backo for afrostream
1 stars 0 forks source link

database: link Client -> Tenant #408

Closed syndr0m closed 7 years ago

syndr0m commented 7 years ago
ALTER TABLE "Clients" ADD COLUMN "tenantId" integer;
syndr0m commented 7 years ago
update "Clients" SET "tenantId" = 1
syndr0m commented 7 years ago

missing constraint, mais les scripts de migration hardcodent Tenant id=1 => afrostream plus simple pour l'instant de ne pas avoir de contrainte pour les scripts pour éviter les remove / add column avec l'update => close