1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-05 21:45:28 +02:00

Create tables

Script to create tables with correct data types in SQL Server 2016 and above.

Search table not included.
This commit is contained in:
Harvey Kandola 2019-03-29 16:42:49 +00:00
parent 80aab3ce99
commit 9ec858286f
5 changed files with 1224 additions and 717 deletions

View file

@ -37,10 +37,12 @@ rd /s /q embed\bindata\scripts
mkdir embed\bindata\scripts
mkdir embed\bindata\scripts\mysql
mkdir embed\bindata\scripts\postgresql
mkdir embed\bindata\scripts\sqlserver
echo "Copying database scripts folder"
robocopy /e /NFL /NDL /NJH core\database\scripts\mysql embed\bindata\scripts\mysql
robocopy /e /NFL /NDL /NJH core\database\scripts\postgresql embed\bindata\scripts\postgresql
robocopy /e /NFL /NDL /NJH core\database\scripts\sqlserver embed\bindata\scripts\sqlserver
echo "Generating in-memory static assets..."
go get -u github.com/jteeuwen/go-bindata/...