1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-18 20:59:43 +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

@ -32,8 +32,10 @@ rm -rf embed/bindata/scripts
mkdir -p embed/bindata/scripts
mkdir -p embed/bindata/scripts/mysql
mkdir -p embed/bindata/scripts/postgresql
mkdir -p embed/bindata/scripts/sqlserver
cp -r core/database/scripts/mysql/*.sql embed/bindata/scripts/mysql
cp -r core/database/scripts/postgresql/*.sql embed/bindata/scripts/postgresql
cp -r core/database/scripts/sqlserver/*.sql embed/bindata/scripts/sqlserver
echo "Generating in-memory static assets..."
# go get -u github.com/jteeuwen/go-bindata/...