UNPKG

devlien

Version:

Devlien is a lightweight, zero-dependency Node.js framework with clean MVC structure, built-in ORM, and intuitive routing for rapid backend development.

14 lines (13 loc) 343 B
import Migration from "devlien/migration"; export default class extends Migration { up(schema){ schema.create('migrations', (table)=>{ table.increments('id'); table.string('path'); table.bigInteger('group').default(1); }); } down(schema){ schema.drop('migrations'); } }