0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data
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
..
db Fixed detection of Windows environment when connecting to SQLite temp DB 2022-05-30 17:42:34 -04:00
exporter Added comments table creation migration (#14998) 2022-07-08 15:46:11 +02:00
importer Updated mapping for stripe_products when product import is skipped (#14965) 2022-06-03 17:31:53 +01:00
migrations Added comments table creation migration (#14998) 2022-07-08 15:46:11 +02:00
schema Added comments table creation migration (#14998) 2022-07-08 15:46:11 +02:00