PIbd-23_Dyakonov_R_R_SUBD_P.../server/models/models.constants.js

8 lines
243 B
JavaScript
Raw Normal View History

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