Spotter-VM/extra/graveyard/odoo10/install/createdb.sql

5 lines
211 B
MySQL
Raw Permalink Normal View History

CREATE ROLE odoo10 NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${ODOO_PWD}';
CREATE DATABASE odoo10;
REVOKE ALL ON DATABASE odoo10 FROM public;
ALTER DATABASE odoo10 OWNER TO odoo10;