Fix travis

This commit is contained in:
Laurent Destailleur 2019-01-21 03:10:29 +01:00
parent 82988d45d5
commit 190aff2d8a

View File

@ -214,9 +214,9 @@ before_script:
#pgloader mysql://root:pass@127.0.0.1/dolibarr_9 postgresql://dolibarrowner:dolibarrownerpass@127.0.0.1/dolibarr_dev
echo pgloader mysql://root@127.0.0.1/travis postgresql:///travis
pgloader mysql://root@127.0.0.1/travis postgresql:///travis
echo 'ALTER SEQUENCE llx_accounting_account_rowid_seq RESTART WITH 1000001;' | psql travis
echo 'select * from information_schema.table_constraints;' | psql travis
echo 'ALTER TABLE "llx_accounting_account" DROP CONSTRAINT "idx_16390_primary"' | psql travis
echo 'ALTER SEQUENCE llx_accountingaccount_rowid_seq RESTART WITH 1000001;' | psql travis
#echo 'select * from information_schema.table_constraints;' | psql travis
#echo 'ALTER TABLE "llx_accounting_account" DROP CONSTRAINT "idx_16390_primary"' | psql travis
fi
# TODO: SQLite
echo