Monorepo containing core modules of Zeichen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
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