Zeichen's backing service for remote storage.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

12345678910111213141516171819202122
  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