add generic response, types and kinda start register
All checks were successful
Code quality checks / biome (push) Successful in 9s

This commit is contained in:
creations 2025-05-02 10:02:06 -04:00
parent d066cc9fed
commit 1f12212d4e
Signed by: creations
GPG key ID: 8F553AA4320FC711
4 changed files with 103 additions and 1 deletions

View file

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