mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-04 15:43:11 +00:00
1d4bbec6b3
Now uses a trigram based search. This is a lot faster and gives better results. Closes #185.
10 lines
423 B
Elixir
10 lines
423 B
Elixir
CREATE USER pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>' CREATEDB;
|
|
-- in case someone runs this second time accidentally
|
|
ALTER USER pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>' CREATEDB;
|
|
CREATE DATABASE pleroma_dev;
|
|
ALTER DATABASE pleroma_dev OWNER TO pleroma;
|
|
\c pleroma_dev;
|
|
--Extensions made by ecto.migrate that need superuser access
|
|
CREATE EXTENSION IF NOT EXISTS citext;
|
|
CREATE EXTENSION IF NOT EXISTS pg_trgm;
|