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); ng' alt='cgit logo'/> index : coinos-server.git
coinos server — legacy coinos.io backend (Lightning, on-chain, Liquid)coinos
aboutsummaryrefslogtreecommitdiffstats
path: root/setup.sh
blob: 1c5115a8b126b392457519a2cc540fc2c0ced8c7 (plain) (blame)
1
2
3
4
5
6
7
8
9