Commit Graph

23 Commits

Author SHA1 Message Date
e1542ae476 back/migration command: add log to show that we are rolling back a migration and which one 2021-11-24 18:20:02 +01:00
404a2ecb16 Fix usages of explicit any 2021-11-10 17:58:52 +01:00
e7695b7027 Upgrade dependencies 2021-11-08 01:09:26 +01:00
82ab0b963c Switch to esm and add import auto format 2021-05-03 20:52:52 +02:00
4817563dc1 Make models and components available immediately after their migration 2021-01-25 16:21:24 +01:00
8fab93e709 Use AsyncLocalStorage to provide requestId context 2021-01-22 15:54:26 +01:00
87b4facea0 Upgrade dependencies and update to express session new typings 2020-12-04 15:24:22 +01:00
03d9826f93 Migration: remove connection parameter from query() method
Closes #5
2020-11-11 19:29:23 +01:00
88e5e19730 Replace custom logging system with tslog 2020-11-02 17:50:12 +01:00
595a6d4066 ModelQuery: add create() and fix boolean serialization 2020-10-02 12:08:01 +02:00
79d704083a Add many eslint rules and fix all linting issues 2020-09-28 14:15:22 +02:00
b736f5f6cb Improve middleware definition and cleanup code 2020-09-25 22:15:57 +02:00
fd6e384a12 Logging: improve legibility of sql queries when verbose mode enabled 2020-09-11 15:14:40 +02:00
649fe41be3 Mysql: set default charset to utf8mb4 on pools 2020-08-30 11:25:26 +02:00
3b94d9beb5 Mysql: set default charset to utf8mb4 2020-08-30 10:36:25 +02:00
21b7def9e4 Fix some model refactor usages 2020-07-26 11:37:01 +02:00
7f398c1d4e Make models extendable 2020-07-24 12:58:06 +02:00
c8157b7bb0 Add optional user approval mode 2020-06-16 15:28:44 +02:00
362343171c Add non-verbose mode for mysql query logging 2020-06-14 21:47:36 +02:00
499c66240b Add command line interface and allow rolling back migrations 2020-06-05 14:32:39 +02:00
91b9e51a7d Wrap each migration in a transaction 2020-06-04 17:27:05 +02:00
3bf4f93b74 Force an application to register migrations 2020-04-23 16:03:54 +02:00
662d12df68 Add sources 2020-04-22 17:49:58 +02:00