Skip to content

Commit

Permalink
feat: make all templates free (#9503)
Browse files Browse the repository at this point in the history
* feat: make all templates free

* set orgid to aghostorg

* update template ids and down migration org id check

* make down migration noop

* remove unused var
  • Loading branch information
nickoferrall authored Mar 6, 2024
1 parent 5dfe26b commit 6762ebc
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import {Client} from 'pg'
import getPgConfig from '../getPgConfig'

export async function up() {
const client = new Client(getPgConfig())
await client.connect()
await client.query(
`
UPDATE "MeetingTemplate"
SET "isFree" = true
WHERE "orgId" = 'aGhostOrg'
`
)

await client.end()
}

export async function down() {
// noop
}

0 comments on commit 6762ebc

Please sign in to comment.