namillum
Version:
Bubble Protocol SDK
52 lines (39 loc) • 613 B
text/typescript
import {
Table,
Column,
Model,
CreatedAt,
UpdatedAt,
DataType,
Unique,
} from "sequelize-typescript";
export class Message extends Model<Message> {
address!: string;
version!: string;
timestamp!: number;
type!: string;
space!: string;
token!: string;
author_ipfs_hash!: string;
(DataType.JSON)
payload!: string;
proposal_id?: string;
(DataType.JSON)
sig!: string;
createdAt!: Date;
updatedAt!: Date;
}