various changes
This commit is contained in:
+4
-2
@@ -20,9 +20,11 @@ export class Post extends Model<InferAttributes<Post>, InferCreationAttributes<P
|
||||
declare id: CreationOptional<number>;
|
||||
|
||||
@Attribute(DataTypes.STRING)
|
||||
declare title:string
|
||||
declare title:string;
|
||||
@Attribute(DataTypes.STRING)
|
||||
declare content:string
|
||||
declare content:string;
|
||||
@Attribute(DataTypes.STRING)
|
||||
declare description?:CreationOptional<string>;
|
||||
|
||||
// Date thingies
|
||||
@CreatedAt
|
||||
|
||||
Reference in New Issue
Block a user