Skip to content

Commit 86c96e0

Browse files
committed
improve
1 parent 354b261 commit 86c96e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/setCountrySpecsDB.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function createTable (next) {
113113
function createTableKey (next) {
114114
console.log('Creating table keys')
115115

116-
var querySetKey = 'CREATE UNIQUE INDEX `Country` ON country_specs(`Country`);'
116+
var querySetKey = 'CREATE UNIQUE INDEX `Country` ON ' + DB_INFO.db_tables.country_specs + '(`Country`);'
117117

118118
var dbQuery = querySetKey
119119
db.query(dbQuery, function (err, results, fields) {

0 commit comments

Comments
 (0)