UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 385 B
const e=e=>({async up(t){await t.schema.createTable(`lucid_options`).addColumn(`name`,e.getDataType(`text`),e=>e.unique().notNull().primaryKey()).addColumn(`value_int`,e.getDataType(`integer`)).addColumn(`value_text`,e.getDataType(`text`)).addColumn(`value_bool`,e.getDataType(`boolean`)).execute()},async down(e){}});export{e as default}; //# sourceMappingURL=00000002-options.mjs.map