laradock/mssql/create_table.sh

5 lines
195 B
Bash
Raw Permalink Normal View History

2017-03-24 23:31:38 +08:00
#wait for the SQL Server to come up
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