Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Latest commit

 

History

History
22 lines (18 loc) · 377 Bytes

File metadata and controls

22 lines (18 loc) · 377 Bytes

sequelize-uuid-binary

A simple BINARY(16) UUID data type for Sequelize.

{
    id: uuidDatatype(),
    // ... other fields
}

You can also add any custom options to the uuidDatatype function, the same way you would with Sequelize.UUID:

{
    id: uuidDatatype({
        primaryKey: true,
        allowNull: false,
    }),
    // ... other fields
}