REmoving fluff from db/
This commit is contained in:
parent
5b48288179
commit
7230c2d015
@ -1,2 +0,0 @@
|
||||
DROP DATABASE IF EXISTS bubble;
|
||||
CREATE DATABASE bubble;
|
@ -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$;
|
||||
|
12
db/setup.sql
12
db/setup.sql
@ -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)
|
||||
);
|
Loading…
Reference in New Issue
Block a user