Commit graph

9 commits

Author SHA1 Message Date
Noi
5f00e8b4b2 Fix incorrect foreign key reference
Replaces previously committed migration with a new one.
If updating the database, run these first before the migration:
```
drop table modlogs;
drop type mod_log_type;
delete from "__EFMigrationsHistory" where "migration_id" = '20220824023321_AddModLogs';
```
2022-09-13 14:58:15 -07:00
Noi
64bea79ef7 ModLogEntry: Add composite foreign key reference 2022-08-23 19:57:04 -07:00
Noi
4f896e8311 Implement moderation logging to database
Further commits will implement a system to propagate these logs,
allowing modules and services to act on them regardless of their origin.
Additionally, further commits shall implement these changes within
built-in modules to allow for their immediate use.
2022-08-16 12:37:06 -07:00
Noi
ffded1b45c Add initial migration 2022-07-28 14:10:35 -07:00
Noi
724f35fea6 Remove extraneous comments and reminders 2022-07-28 14:09:52 -07:00
Noi
c77e4bd579 Update DB model: message content may be null
Additionally, removed existing migration data for now. Will re-add
when the project is nearly ready for a proper release.
2022-07-27 18:05:52 -07:00
Noi
584a55cd60 Always load database config at start
Ensures that the database settings used by ef tools are those in config.
2022-07-22 23:41:49 -07:00
Noi
c3ecf2a877 Update initial database model and migration 2022-07-20 20:37:31 -07:00
Noi
1149f2800d Reorganized project
Moved modules into the assembly itself to simplify development of
further features and reduce complexity in building this project.

Additionally, many small adjustments were made, including:
- Add documentation to most public methods that had it missing
- Minor style updates
- Updated readme to reflect near-completion of this rewrite
- Remove any last remaining references to old project name Kerobot
- Update dependencies
2022-07-20 18:55:08 -07:00