mirror of
https://github.com/frappe/books.git
synced 2024-09-20 19:29:02 +00:00
9 lines
194 B
JavaScript
9 lines
194 B
JavaScript
const frappe = require('frappe-core');
|
|
|
|
module.exports = {
|
|
async init_sqlite() {
|
|
await frappe.init();
|
|
await frappe.init_db('sqlite', {db_path: 'test.db'});
|
|
await frappe.db.migrate();
|
|
}
|
|
} |