Monorepo containing core modules of Zeichen.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

23 行
385 B

  1. import * as ColumnTypes from '../utilities/ColumnTypes'
  2. const Tag: ColumnTypes.Model = {
  3. modelName: 'Tag',
  4. tableName: 'tags',
  5. options: {
  6. timestamps: false,
  7. },
  8. attributes: {
  9. id: {
  10. allowNull: true,
  11. primaryKey: true,
  12. type: ColumnTypes.UUIDV4,
  13. },
  14. name: {
  15. allowNull: false,
  16. type: ColumnTypes.STRING,
  17. },
  18. }
  19. }
  20. export default Tag