Move init and test results data to separate repo.
This commit is contained in:
parent
96cc6d15b5
commit
d5466a91e6
21 changed files with 21 additions and 414048 deletions
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 463b73ecd040e19a4489c676e5fa5bbf7fea48df
|
||||
|
|
@ -50,7 +50,7 @@ func initMySQLDB() {
|
|||
|
||||
for _, dbName := range mySQLDBs {
|
||||
cmdLine := fmt.Sprintf("mysql -h 127.0.0.1 -u %s -p%s %s < %s",
|
||||
dbconfig.MySQLUser, dbconfig.MySQLPassword, dbName, "./init/data/mysql/"+dbName+".sql")
|
||||
dbconfig.MySQLUser, dbconfig.MySQLPassword, dbName, "./testdata/init/mysql/"+dbName+".sql")
|
||||
|
||||
fmt.Println(cmdLine)
|
||||
|
||||
|
|
@ -74,7 +74,6 @@ func initMySQLDB() {
|
|||
|
||||
panicOnError(err)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func initPostgresDB() {
|
||||
|
|
@ -96,7 +95,7 @@ func initPostgresDB() {
|
|||
|
||||
for _, schemaName := range schemaNames {
|
||||
|
||||
execFile(db, "./init/data/postgres/"+schemaName+".sql")
|
||||
execFile(db, "./testdata/init/postgres/"+schemaName+".sql")
|
||||
|
||||
err = postgres.Generate("./.gentestdata", postgres.DBConnection{
|
||||
Host: dbconfig.Host,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue