mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-07-24 12:50:10 +08:00
Initial Sequelize integration.
Added orm module to abstract Sequelize usage to some degree. ORM module handles the configuration and instantiation of Sequelize. Models are defined and instantiated from models/* Tested only against SQLite. Faily new to nodejs so I probably messed up with something.
This commit is contained in:
+9
-4
@@ -1,6 +1,11 @@
|
||||
var config = {
|
||||
db_user: "",
|
||||
db_password: "",
|
||||
db_name: ""
|
||||
db: {
|
||||
user : '',
|
||||
password : '',
|
||||
name : '',
|
||||
options : {
|
||||
dialect: 'sqlite'
|
||||
}
|
||||
}
|
||||
};
|
||||
module.exports = config;
|
||||
module.exports = config;
|
||||
|
||||
Reference in New Issue
Block a user