1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-16 23:27:30 -05:00

mssql image with setup script on entrypoint

This commit is contained in:
Kyle Spearrin
2017-08-17 22:28:56 -04:00
parent a222613082
commit 1fd7f5dd03
9 changed files with 41 additions and 1 deletions

6
util/MsSql/setup.sql Normal file
View File

@ -0,0 +1,6 @@
USE [master]
IF ((SELECT COUNT(1) FROM sys.databases WHERE [name] = 'vault') = 0)
BEGIN
CREATE DATABASE [vault]
END
GO