Files
postgrest/test/fixtures/database.sql
T
2016-10-17 22:32:36 -07:00

7 lines
241 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 request.jwt.claim.id = '-1';