create offer stitched with backend

This commit is contained in:
counterweight 2025-02-26 00:48:16 +01:00
parent 4eef0a57e0
commit b430b42b60
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
5 changed files with 37 additions and 14 deletions

View file

@ -1,27 +0,0 @@
const { DataTypes } = require('sequelize');
const sequelize = require('../database');
const OfferCreated = sequelize.define(
'OfferCreated',
{
uuid: {
type: DataTypes.UUID,
allowNull: false,
unique: true,
primaryKey: true,
},
public_key: {
type: DataTypes.STRING,
allowNull: false,
},
created_at: {
type: DataTypes.DATE,
allowNull: false,
},
},
{
tableName: 'offer_created',
}
);
module.exports = OfferCreated;