aboutsummaryrefslogtreecommitdiffstats
BranchCommit messageAuthorAge
ark2slow down ark checksAdam Soltys8 months
assetswipAdam Soltys7 years
basecapture funds snapshotsAdam Soltys4 years
buildtestAdam Soltys5 years
bun-elysiabun and elysiaAdam Soltys4 years
cashreqreturn pidAdam Soltys23 months
changeDefaultPassSet a stronger sampleconfig/default development mariadb root password which a...Derrick5 years
const { DataTypes } = require('sequelize');

const attributes = {
  code: {
    type: DataTypes.STRING(255),
    allowNull: false,
    defaultValue: null,
    primaryKey: true,
    autoIncrement: false,
    comment: null,
    field: "code"
  },
  text: {
    type: DataTypes.TEXT,
    allowNull: true,
    defaultValue: null,
    primaryKey: false,
    autoIncrement: false,
    comment: null,
    field: "text"
  },
};

const options = {
  tableName: "codes",
  comment: "",
  indexes: [],
  timestamps: false
};

db["Code"] = db.define("codes_model", attributes, options);