8 lines
243 B
JavaScript
8 lines
243 B
JavaScript
import { DataTypes } from "sequelize";
|
|
|
|
export const customCreatedAndUpdatedFields = {
|
|
createdAt: "created_at",
|
|
updatedAt: "updated_at"
|
|
};
|
|
|
|
export const idSettingsObject = { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true }; |