norm-ddl
v0.1.1
Published
Norm DDL
Downloads
12
Readme
norm-ddl
npm i norm-ddl
const DDL = require('norm-ddl');
(async () => {
let data,
let manager = new Manager({
connections: [
{
data,
adapter: require('node-norm/adapters/memory'),
schemas: [
{
name: 'foo',
},
{
name: 'bar',
},
],
},
],
});
let ddl = new DDL(manager);
await ddl.define('foo');
await ddl.define('bar');
})();