PIbd-23_Dyakonov_R_R_SUBD_P.../server/models/models.constants.js
2024-03-24 19:49:46 +04:00

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 };