mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 21:57:34 +00:00
19 lines
287 B
TypeScript
19 lines
287 B
TypeScript
|
import { TableOptions } from '../../src';
|
||
|
|
||
|
export default {
|
||
|
name: 'comments',
|
||
|
fields: [
|
||
|
{
|
||
|
type: 'text',
|
||
|
name: 'content',
|
||
|
},
|
||
|
{
|
||
|
type: 'belongsTo',
|
||
|
name: 'user',
|
||
|
},
|
||
|
{
|
||
|
type: 'belongsTo',
|
||
|
name: 'post',
|
||
|
},
|
||
|
],
|
||
|
} as TableOptions;
|