You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

27 lines
439 B

import { sequelize, connect } from "@/db/index";
import { DataTypes } from "sequelize";
/**
* 图片解析表:
*/
const Color = sequelize.define(
"Color",
{
// 图片地址
color: {
type: DataTypes.STRING
},
title: {
type: DataTypes.STRING,
allowNull: true
},
describe: {
type: DataTypes.STRING,
allowNull: true
},
},
{
timestamps: false,
}
);
export { Color };