Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/api/drizzle/0000_baseline.sql
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ CREATE TABLE "community_comments" (
"parent_comment_id" uuid,
"school_account_id" uuid,
"content" text NOT NULL,
"edited_at" timestamp with time zone,
"deleted_at" timestamp with time zone,
"created_at" timestamp with time zone NOT NULL,
"updated_at" timestamp with time zone NOT NULL,
Expand All @@ -417,6 +418,7 @@ CREATE TABLE "community_posts" (
"space_id" uuid,
"gif_urls" jsonb DEFAULT '[]'::jsonb NOT NULL,
"pinned" boolean DEFAULT false NOT NULL,
"edited_at" timestamp with time zone,
"deleted_at" timestamp with time zone,
"created_at" timestamp with time zone NOT NULL,
"updated_at" timestamp with time zone NOT NULL,
Expand Down
12 changes: 12 additions & 0 deletions apps/api/drizzle/meta/0000_snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -3485,6 +3485,12 @@
"primaryKey": false,
"notNull": true
},
"edited_at": {
"name": "edited_at",
"type": "timestamp with time zone",
"primaryKey": false,
"notNull": false
},
"deleted_at": {
"name": "deleted_at",
"type": "timestamp with time zone",
Expand Down Expand Up @@ -3793,6 +3799,12 @@
"notNull": true,
"default": false
},
"edited_at": {
"name": "edited_at",
"type": "timestamp with time zone",
"primaryKey": false,
"notNull": false
},
"deleted_at": {
"name": "deleted_at",
"type": "timestamp with time zone",
Expand Down
70 changes: 70 additions & 0 deletions apps/api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5150,6 +5150,10 @@
"pinned": {
"type": "boolean"
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand All @@ -5176,6 +5180,7 @@
"commentsCount",
"subscribed",
"pinned",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt"
Expand Down Expand Up @@ -5656,6 +5661,10 @@
"pinned": {
"type": "boolean"
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand All @@ -5682,6 +5691,7 @@
"commentsCount",
"subscribed",
"pinned",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt"
Expand Down Expand Up @@ -6152,6 +6162,10 @@
"pinned": {
"type": "boolean"
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand All @@ -6178,6 +6192,7 @@
"commentsCount",
"subscribed",
"pinned",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt"
Expand Down Expand Up @@ -6836,6 +6851,10 @@
]
}
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand All @@ -6858,6 +6877,7 @@
"content",
"media",
"reactions",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt"
Expand Down Expand Up @@ -7306,6 +7326,10 @@
]
}
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand All @@ -7328,6 +7352,7 @@
"content",
"media",
"reactions",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt"
Expand Down Expand Up @@ -7762,6 +7787,10 @@
]
}
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand All @@ -7784,6 +7813,7 @@
"content",
"media",
"reactions",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt"
Expand Down Expand Up @@ -14670,6 +14700,10 @@
"pinned": {
"type": "boolean"
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand Down Expand Up @@ -14798,6 +14832,7 @@
"commentsCount",
"subscribed",
"pinned",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt",
Expand Down Expand Up @@ -15190,6 +15225,10 @@
"pinned": {
"type": "boolean"
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand Down Expand Up @@ -15318,6 +15357,7 @@
"commentsCount",
"subscribed",
"pinned",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt",
Expand Down Expand Up @@ -16113,6 +16153,10 @@
"pinned": {
"type": "boolean"
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand All @@ -16139,6 +16183,7 @@
"commentsCount",
"subscribed",
"pinned",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt"
Expand Down Expand Up @@ -16612,6 +16657,10 @@
"pinned": {
"type": "boolean"
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand All @@ -16638,6 +16687,7 @@
"commentsCount",
"subscribed",
"pinned",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt"
Expand Down Expand Up @@ -17052,6 +17102,10 @@
"pinned": {
"type": "boolean"
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand All @@ -17078,6 +17132,7 @@
"commentsCount",
"subscribed",
"pinned",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt"
Expand Down Expand Up @@ -17461,6 +17516,10 @@
]
}
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand All @@ -17483,6 +17542,7 @@
"content",
"media",
"reactions",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt"
Expand Down Expand Up @@ -17924,6 +17984,10 @@
]
}
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand All @@ -17946,6 +18010,7 @@
"content",
"media",
"reactions",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt"
Expand Down Expand Up @@ -18373,6 +18438,10 @@
]
}
},
"editedAt": {
"type": "string",
"nullable": true
},
"deletedAt": {
"type": "string",
"nullable": true
Expand All @@ -18395,6 +18464,7 @@
"content",
"media",
"reactions",
"editedAt",
"deletedAt",
"createdAt",
"updatedAt"
Expand Down
Loading
Loading