Mirror of https://github.com/roostorg/coop
github.com/roostorg/coop
1'use strict';
2
3// NB: The Datastax Cassandra/Scylla Driver only supports 1 SQL statement
4// per API call. So Scylla migrations should use sequential, raw `query` calls.
5
6/**
7 * @param {{ context: import("cassandra-driver").Client }} context
8 */
9exports.up = async function ({ context }) {
10 const query = context.execute.bind(context);
11};
12
13/**
14 * @param {{ context: import("cassandra-driver").Client }} context
15 */
16exports.down = async function ({ context }) {
17 const query = context.execute.bind(context);
18};