Skip to content

Commit

Permalink
update system config entity
Browse files Browse the repository at this point in the history
  • Loading branch information
huytran17 committed Jun 5, 2024
1 parent a94bdae commit db793c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/server/src/database/entities/system-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default class SystemConfiguration implements ISystemConfiguration {
public readonly excel_template?: {
name: string;
path: string;
destination: string;
uploaded_at: Date;
uploaded_by: IAdmin;
mimetype: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default interface ISystemConfiguration {
excel_template?: {
name: string;
path: string;
destination: string;
uploaded_at: Date;
uploaded_by: IAdmin;
mimetype: string;
Expand Down
1 change: 1 addition & 0 deletions core/server/src/database/schemas/system-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const systemConfigurationSchema = new Schema<
{
name: { type: String, default: "" },
path: { type: String, default: "" },
destination: { type: String, default: "" },
uploaded_at: { type: Date, default: Date.now() },
uploaded_by: { type: Schema.Types.ObjectId, ref: "Admin" },
mimetype: { type: String, default: "" },
Expand Down

0 comments on commit db793c6

Please sign in to comment.