|
@@ -12,7 +12,7 @@ const dbPwd = '1234qwer!@#$';
|
|
|
/**redis ip */
|
|
|
const redisHost = 'localhost';
|
|
|
/**redis 密码 */
|
|
|
-const redisPwd = '123456';
|
|
|
+const redisPwd = '1234qwer!@#$';
|
|
|
/**redis 使用第几个数据库 */
|
|
|
const redisDB = 0;
|
|
|
/**redis 记录登录的key */
|
|
@@ -52,7 +52,7 @@ export default {
|
|
|
port: 54321,
|
|
|
entities: ['./entity'],
|
|
|
type: 'postgres',
|
|
|
- synchronize: true, // 如果第一次使用,不存在表,有同步的需求可以写 true,注意会丢数据
|
|
|
+ synchronize: false, // 如果第一次使用,不存在表,有同步的需求可以写 true,注意会丢数据
|
|
|
logging: false,
|
|
|
},
|
|
|
logs: {
|