Closed gianpaj closed 9 years ago
Maybe I should add a setup command, so that you can add credentials from the command line and also create tables if they are missing?
Something like ./napchart setup
?
I have seen it been used in nodebb like this $ ./nodebb setup
. How can I do that?
ORM is a good idea. It makes it more readable and structured. I will look into that
I have now added a initialization script using sequelize. Run node script --setup
awesome!
If the database will be used a lot more perhaps an ORM would be a good idea:
Otherwise: