tachybase_todo/packages/database-next/src/fields/string-field.ts

9 lines
168 B
TypeScript
Raw Normal View History

2021-09-18 00:23:21 +08:00
import { DataTypes } from 'sequelize';
2021-09-27 15:28:32 +08:00
import { Field } from './field';
2021-09-18 00:23:21 +08:00
2021-09-27 15:28:32 +08:00
export class StringField extends Field {
2021-09-18 00:23:21 +08:00
get dataType() {
return DataTypes.STRING;
}
}