Where should I put the table creation logic in node.js

Home / Uncategorized / Where should I put the table creation logic in node.js

Question:
I’m trying to learn node.js and I’m using SQLite3 database. Where should I put the logic for creating tables? I don’t want to recreate the table everytime I restart the app. How does migration work in SQLite3 and Node.js?


Answer:

Read more

Leave a Reply

Your email address will not be published. Required fields are marked *