mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 02:35:14 +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;
|