tachybase_todo/packages/database/examples/tables/profiles.ts

23 lines
344 B
TypeScript
Raw Normal View History

2020-10-24 15:34:43 +08:00
import { TableOptions } from '../../src';
export default {
name: 'profiles',
fields: [
{
type: 'string',
name: 'realname',
},
{
type: 'string',
name: 'email',
},
{
type: 'string',
name: 'gender',
},
{
type: 'date',
name: 'birthday',
},
],
} as TableOptions;