REmoving fluff from db/

This commit is contained in:
shockrah 2024-11-12 14:33:23 -08:00
parent 5b48288179
commit 7230c2d015
3 changed files with 1 additions and 15 deletions

View File

@ -1,2 +0,0 @@
DROP DATABASE IF EXISTS bubble;
CREATE DATABASE bubble;

View File

@ -1,7 +1,7 @@
-- Create the user that we'll use for service data
DO $SERVICE_USER_CREATION$
BEGIN
CREATE ROLE bubble_api;
CREATE ROLE bubble_admin WITH PASSWORD $1;
EXCEPTION WHEN duplicate_object THEN RAISE NOTICE '%, skipping', SQLERRM USING ERRCODE = SQLSTATE;
END
$SERVICE_USER_CREATION$;

View File

@ -1,12 +0,0 @@
CREATE TABLE IF NOT EXISTS users (
id INTEGER,
name VARCHAR(256),
PRIMARY KEY (id)
);
CREATE TABLE IF NOT EXISTS invites (
id BIGINT,
expires INTEGER,
PRIMARY KEY (id)
);