Commit graph

12 commits

Author SHA1 Message Date
Noi
de7e83ee50 Modify database context and navigation
Creating a migration as-is creates an extraneous column. Need to figure
out what the problem is.
2022-12-03 19:35:42 -08:00
Noi
b76d45a271 Update EF Core; create migration for previous commit 2022-12-03 18:09:48 -08:00
Noi
ebe3a403f3 Remove ulong->long casts 2022-12-03 17:46:26 -08:00
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