23 lines
411 B
JavaScript
23 lines
411 B
JavaScript
module.exports = () => ({
|
|
ormCollections: () => {
|
|
return [
|
|
{
|
|
identity: 'project',
|
|
datastore: 'default',
|
|
primaryKey: 'id',
|
|
attributes: {
|
|
id: {
|
|
type: 'number',
|
|
autoMigrations: {
|
|
autoIncrement: true,
|
|
},
|
|
},
|
|
name: {
|
|
type: 'string',
|
|
},
|
|
}
|
|
},
|
|
];
|
|
},
|
|
});
|