From: Nicolas Boisselier Date: Tue, 15 May 2018 03:07:14 +0000 (+0100) Subject: lib/postgres/shell_function.sql X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=35f56213a2c0f4f09047380659f8fd1854714340;p=nb.git lib/postgres/shell_function.sql --- diff --git a/lib/postgres/shell_function.sql b/lib/postgres/shell_function.sql index cb86b66b..d710974d 100644 --- a/lib/postgres/shell_function.sql +++ b/lib/postgres/shell_function.sql @@ -1,5 +1,5 @@ DROP TABLE IF EXISTS shell_function; -CREATE TABLE shell_function ( +CREATE TABLE IF NOT EXISTS shell_function ( name VARCHAR(255) PRIMARY KEY, code TEXT );