mirror of
https://github.com/fosrl/pangolin.git
synced 2025-06-30 09:04:48 +02:00
Initial pass at migrations
This commit is contained in:
parent
29bd88ebdf
commit
2a265e5cdd
9 changed files with 191 additions and 26 deletions
|
@ -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");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue