mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
linting
This commit is contained in:
parent
d3eafc9b69
commit
f2d34cc815
@ -8,7 +8,7 @@ module.exports.up = async function (next) {
|
|||||||
const driver = getDriver()
|
const driver = getDriver()
|
||||||
const session = driver.session()
|
const session = driver.session()
|
||||||
const transaction = session.beginTransaction()
|
const transaction = session.beginTransaction()
|
||||||
try {
|
try {
|
||||||
// Implement your migration here.
|
// Implement your migration here.
|
||||||
await transaction.run(`
|
await transaction.run(`
|
||||||
MATCH (p:Post)
|
MATCH (p:Post)
|
||||||
@ -32,7 +32,7 @@ module.exports.down = async function (next) {
|
|||||||
const driver = getDriver()
|
const driver = getDriver()
|
||||||
const session = driver.session()
|
const session = driver.session()
|
||||||
const transaction = session.beginTransaction()
|
const transaction = session.beginTransaction()
|
||||||
try {
|
try {
|
||||||
// Implement your migration here.
|
// Implement your migration here.
|
||||||
await transaction.run(`
|
await transaction.run(`
|
||||||
MATCH (p:Post)
|
MATCH (p:Post)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user