mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-15 04:26:14 +00:00
Initial pass at migrations
This commit is contained in:
@@ -11,5 +11,5 @@ export async function copyInConfig() {
|
||||
// update the domain on all of the orgs where the domain is not equal to the new domain
|
||||
// TODO: eventually each org could have a unique domain that we do not want to overwrite, so this will be unnecessary
|
||||
await db.update(orgs).set({ domain }).where(ne(orgs.domain, domain));
|
||||
logger.info("Updated orgs with new domain");
|
||||
logger.debug("Updated orgs with new domain");
|
||||
}
|
||||
Reference in New Issue
Block a user