Skip to content

Commit

Permalink
feat: add prisma migration
Browse files Browse the repository at this point in the history
  • Loading branch information
rutmanz committed Sep 19, 2024
1 parent 780514b commit 4ea14b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Departments" ADD COLUMN "manager_slack_group" VARCHAR(50);
3 changes: 2 additions & 1 deletion src/tasks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export function scheduleTasks() {

tasks['Sync Sheet'] = scheduleTask(updateSheet, 60 * 5, isProd, 0)
tasks['Announce Certs'] = scheduleTask(announceNewCerts, 60 * 60, isProd, 60) // Just in case the cert announcement isn't automatically run on changes
if (isProd) { // This task affects workspace-wide groups, should not be run while testing if in the same workspace
if (isProd) {
// This task affects workspace-wide groups, should not be run while testing if in the same workspace
tasks['Sync Usergroups'] = scheduleTask(updateSlackUsergroups, 60 * 60, isProd, 2 * 60)
}
tasks['Link Fallback Photos'] = createTaskFunc(syncFallbackPhotos)
Expand Down

0 comments on commit 4ea14b6

Please sign in to comment.