DROP DATABASE IF EXISTS nextcloud;
DROP USER IF EXISTS ncadmin;

CREATE USER ncadmin;
CREATE DATABASE nextcloud;
GRANT ALL PRIVILEGES ON DATABASE nextcloud TO ncadmin;
