miniflux/templates/setup_db.psql.j2
author Luke Hoersten <luke@hoersten.org>
Mon, 16 Nov 2020 16:43:09 -0600
changeset 144 267d58c0e186
parent 130 46785fdb4fc5
child 227 2e0366f2dcbe
permissions -rw-r--r--
Replaced with_items with loop.

CREATE USER miniflux WITH ENCRYPTED PASSWORD '{{miniflux_db_pass}}';
CREATE DATABASE miniflux WITH OWNER miniflux;
\c miniflux;
--Extensions made by miniflux that need superuser access
CREATE EXTENSION IF NOT EXISTS hstore;