generated from erangel1/generic-template
10 lines
391 B
SQL
10 lines
391 B
SQL
-- LabGraph PostgreSQL initialization script.
|
|
-- Runs once when the postgres volume is first created (via docker-entrypoint-initdb.d).
|
|
-- Must execute before Django migrations.
|
|
|
|
-- uuid_generate_v4() used as default for all UUIDField primary keys
|
|
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
|
|
|
-- GIN index support for fuzzy text search on Node.label
|
|
CREATE EXTENSION IF NOT EXISTS "pg_trgm";
|