aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/sonar-dev-maven-plugin/src/main/resources/database/mssql/create-db.sql
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/sonar-dev-maven-plugin/src/main/resources/database/mssql/create-db.sql')
-rw-r--r--subprojects/sonar-dev-maven-plugin/src/main/resources/database/mssql/create-db.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/subprojects/sonar-dev-maven-plugin/src/main/resources/database/mssql/create-db.sql b/subprojects/sonar-dev-maven-plugin/src/main/resources/database/mssql/create-db.sql
new file mode 100644
index 00000000000..fc12f2a622e
--- /dev/null
+++ b/subprojects/sonar-dev-maven-plugin/src/main/resources/database/mssql/create-db.sql
@@ -0,0 +1,3 @@
+create database ${sonar.jdbc.username};
+USE ${sonar.jdbc.username};
+sp_addalias ${sonar.jdbc.username}, dbo;