0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00
ghost/test/unit/server
Kevin Ansfield 799a42062c Added comments table creation migration (#14998)
refs https://github.com/TryGhost/Team/issues/1664

Field notes:

- `parent_id` - used for nested comments but will be limited to 1 level in app-level validation
- `member_id` - when a member is deleted for now the member id is kept but in the future may be removed, hence `nullable: true`
- `status` - "hidden" status will be used when a staff user hides a comment, "deleted" is used when a comment author deletes
- `html` - will store pre-sanitised html
- `edited_at` - used to show an "X edited at Y" note when displaying comments, separate to `updated_at` because changing the status would also change `updated_at` but shouldn't show the "edited at" UI
2022-07-08 15:46:11 +02:00
..
adapters Added ability to delete existing files through storage adapters 2021-11-09 16:07:23 +04:00
data Added comments table creation migration (#14998) 2022-07-08 15:46:11 +02:00
lib 🎨 Reduced favicon requirements and added image formatting (#14918) 2022-05-27 16:36:53 +02:00
models Added getLazyRelation model helper method (#14943) 2022-05-31 13:21:53 +02:00
services Added getLazyRelation model helper method (#14943) 2022-05-31 13:21:53 +02:00
web Renamed API canary/ folder to endpoints/ 2022-07-04 11:14:37 +02:00
notify.test.js Fixed notify library tests 2021-12-06 08:20:39 +00:00
overrides.test.js Set global Luxon timezone override to UTC 2021-10-20 09:19:29 +02:00