@gameroom/kit
Version:
Node kit for the Gameroom API
21 lines (19 loc) • 490 B
JavaScript
const { Dictionary } = require('../lib'),
store = require('../store'),
{ Base } = store.models
module.exports = store.define(
'Changelog',
{
// Changelog
before: { type: Dictionary, default: null },
after: { type: Dictionary, default: null },
// Relationships
user_id: { type: String, default: null },
changeable_id: { type: String, default: null },
changeable_type: { type: String, default: null }
},
{
extends: Base,
writable: false
}
)