laradock/mssql/create_table.sh

5 lines
195 B
Bash
Raw Normal View History

2017-03-24 23:31:38 +08:00
#wait for the SQL Server to come up
2017-10-12 18:54:09 +08:00
sleep 45
2017-03-24 23:31:38 +08:00
#run the setup script to create the DB and the schema in the DB
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P $SA_PASSWORD -d master -i setup.sql