diff --git a/scripts/1.4.1/data/1_insert_road_data/index.js b/scripts/1.4.1/data/1_insert_road_data/index.js index dd1fb027..39d84865 100644 --- a/scripts/1.4.1/data/1_insert_road_data/index.js +++ b/scripts/1.4.1/data/1_insert_road_data/index.js @@ -5,23 +5,23 @@ try { const fs = require("fs"); //开发 - const pool = new Pool({ - user: 'postgres', - host: '10.8.30.32', - database: 'highways4good', - password: '123', - port: 5432, - }) - - // 测试环境 // const pool = new Pool({ - // user: 'highwayadmin', - // host: '10.8.40.223', - // database: 'highway4good', - // password: 'highway123', + // user: 'postgres', + // host: '10.8.30.32', + // database: 'highways4good', + // password: '123', // port: 5432, // }) + 测试环境 + const pool = new Pool({ + user: 'highwayadmin', + host: '10.8.40.223', + database: 'highwaytest', + password: 'highway123', + port: 5432, + }) + // 商用环境 // const pool = new Pool({ // user: 'highwayadmin',