add user info, add table drop for dev env, fix invite route
All checks were successful
Code quality checks / biome (push) Successful in 8s

This commit is contained in:
creations 2025-05-04 08:59:36 -04:00
parent 320e2cc121
commit 0cb7ebb245
Signed by: creations
GPG key ID: 8F553AA4320FC711
11 changed files with 209 additions and 21 deletions

View file

@ -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 };