Files
postgrest/test/fixtures/database.sql
T
2016-09-27 23:17:08 -07:00

7 lines
240 B
SQL

DROP DATABASE IF EXISTS postgrest_test;
DROP ROLE IF EXISTS postgrest_test;
CREATE USER postgrest_test createdb createrole;
CREATE DATABASE postgrest_test OWNER postgrest_test;
ALTER DATABASE postgrest_test SET postgrest.claims.id = '-1';