add generic response, types and kinda start register
All checks were successful
Code quality checks / biome (push) Successful in 9s
All checks were successful
Code quality checks / biome (push) Successful in 9s
This commit is contained in:
parent
d066cc9fed
commit
1f12212d4e
4 changed files with 103 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
import { CassandraService } from "@lib/cassandra";
|
||||
|
||||
export async function createTable() {
|
||||
async function createTable() {
|
||||
await CassandraService.getClient().execute(`
|
||||
CREATE TABLE IF NOT EXISTS users (
|
||||
id TEXT PRIMARY KEY,
|
||||
|
@ -15,3 +15,5 @@ export async function createTable() {
|
|||
);
|
||||
`);
|
||||
}
|
||||
|
||||
export { createTable };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue