au.net.causal.maven.plugins.boxdb.db.sqlserver-create-database.sql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of boxdb-maven-plugin Show documentation
Show all versions of boxdb-maven-plugin Show documentation
Maven plugin to start databases using Docker and VMs
use master;
create login ${box.databaseUser} with password='${box.databasePassword}';
create database ${box.databaseName} COLLATE ${box.databaseCollation};
use ${box.databaseName};
create user ${box.databaseUser} for login ${box.databaseUser};
exec sp_addrolemember 'db_owner', '${box.databaseUser}';