ghost
Version:
The professional publishing platform
10 lines (8 loc) • 401 B
JavaScript
const {addTable} = require('../../utils');
module.exports = addTable('benefits', {
id: {type: 'string', maxlength: 24, nullable: false, primary: true},
name: {type: 'string', maxlength: 191, nullable: false},
slug: {type: 'string', maxlength: 191, nullable: false, unique: true},
created_at: {type: 'dateTime', nullable: false},
updated_at: {type: 'dateTime', nullable: true}
});