add user info, add table drop for dev env, fix invite route
All checks were successful
Code quality checks / biome (push) Successful in 8s
All checks were successful
Code quality checks / biome (push) Successful in 8s
This commit is contained in:
parent
320e2cc121
commit
0cb7ebb245
11 changed files with 209 additions and 21 deletions
|
@ -24,4 +24,18 @@ async function createTable() {
|
|||
`);
|
||||
}
|
||||
|
||||
export { createTable };
|
||||
async function dropTable() {
|
||||
await cassandra.getClient().execute(`
|
||||
DROP TABLE IF EXISTS users;
|
||||
`);
|
||||
|
||||
await cassandra.getClient().execute(`
|
||||
DROP INDEX IF EXISTS users_username_idx;
|
||||
`);
|
||||
|
||||
await cassandra.getClient().execute(`
|
||||
DROP INDEX IF EXISTS users_email_idx;
|
||||
`);
|
||||
}
|
||||
|
||||
export { createTable, dropTable };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue