For UUIDs, use DataTypes.UUID . It becomes the UUID data type for PostgreSQL and SQLite, and CHAR(36) for MySQL. Sequelize can generate UUIDs automatically ...
確定! 回上一頁