Veri*factu
This commit is contained in:
parent
95e7d85a6f
commit
6559317e2f
@ -19,6 +19,9 @@ export class VerifactuRecordModel extends Model<
|
||||
declare qr1: JSON;
|
||||
declare qr2: Blob;
|
||||
|
||||
declare uuid: string;
|
||||
declare operacion: string;
|
||||
|
||||
static associate(database: Sequelize) {
|
||||
const { VerifactuRecordModel } = database.models;
|
||||
|
||||
@ -68,6 +71,18 @@ export default (database: Sequelize) => {
|
||||
allowNull: false,
|
||||
defaultValue: null,
|
||||
},
|
||||
|
||||
uuid: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: false,
|
||||
defaultValue: null,
|
||||
},
|
||||
|
||||
operacion: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: true,
|
||||
defaultValue: null,
|
||||
},
|
||||
},
|
||||
{
|
||||
sequelize: database,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user