Zeichen's backing service for remote storage.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
410 B

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