Skip to content

Commit

Permalink
chore(rethinkdb): phase 4 of RetroReflection, RetroReflectionGroup an…
Browse files Browse the repository at this point in the history
…d TimelineEvent (#9943)
  • Loading branch information
rafaelromcar-parabol authored Jul 9, 2024
1 parent 46770a0 commit 151b029
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import {r} from 'rethinkdb-ts'
import connectRethinkDB from '../../database/connectRethinkDB'

export async function up() {
await connectRethinkDB()
try {
await r.tableDrop('TimelineEvent').run()
} catch (error) {
// table already dropped
}
}

export async function down() {
// No migration down
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import {r} from 'rethinkdb-ts'
import connectRethinkDB from '../../database/connectRethinkDB'

export async function up() {
await connectRethinkDB()
try {
await r.tableDrop('RetroReflectionGroup').run()
} catch (error) {
// table already dropped
}
}

export async function down() {
// No migration down
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import {r} from 'rethinkdb-ts'
import connectRethinkDB from '../../database/connectRethinkDB'

export async function up() {
await connectRethinkDB()
try {
await r.tableDrop('RetroReflection').run()
} catch (error) {
// table already dropped
}
}

export async function down() {
// No migration down
}

0 comments on commit 151b029

Please sign in to comment.