Browse Source

更新 'scripts/1.4.1/data/1_insert_road_data/index.js'

dev
sunyue 10 months ago
parent
commit
c88cead657
  1. 26
      scripts/1.4.1/data/1_insert_road_data/index.js

26
scripts/1.4.1/data/1_insert_road_data/index.js

@ -5,23 +5,23 @@ try {
const fs = require("fs"); 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({ // const pool = new Pool({
// user: 'highwayadmin', // user: 'postgres',
// host: '10.8.40.223', // host: '10.8.30.32',
// database: 'highway4good', // database: 'highways4good',
// password: 'highway123', // password: '123',
// port: 5432, // port: 5432,
// }) // })
测试环境
const pool = new Pool({
user: 'highwayadmin',
host: '10.8.40.223',
database: 'highwaytest',
password: 'highway123',
port: 5432,
})
// 商用环境 // 商用环境
// const pool = new Pool({ // const pool = new Pool({
// user: 'highwayadmin', // user: 'highwayadmin',

Loading…
Cancel
Save