diff options
Diffstat (limited to '')
-rw-r--r-- | db/postgres/create_db.pgsql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/postgres/create_db.pgsql b/db/postgres/create_db.pgsql new file mode 100644 index 0000000..3c52221 --- /dev/null +++ b/db/postgres/create_db.pgsql @@ -0,0 +1,2 @@ +SELECT 'CREATE DATABASE irc' +WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'irc')\gexec |