as #3 pointed, triggers for Updated attr had to be created in 1442a2a664.
those are, however, not present on db creation and we currently don't have a mechanism applying them automatically when they're not present, risking a situation where we're getting bogus values again.
we need a way to run our trigger creation script on apps first run or similar.
as #3 pointed, triggers for `Updated` attr had to be created in https://git.dotya.ml/wanderer/pwt-0x01-ng/commit/1442a2a664f9bd96c08d55330e10d39094cf0158.
those are, however, not present on db creation and we currently don't have a mechanism applying them automatically when they're not present, risking a situation where we're getting bogus values again.
we need a way to run our trigger creation script on apps first run or similar.
This project might be the right solution
https://github.com/win7user10/Laraue.EfCoreTriggers
https://www.nuget.org/packages/Laraue.EfCoreTriggers.PostgreSql/1.1.1, respectively.
("EfCoreTriggers is the library to write native SQL triggers using EFCore model builder. Triggers are automatically translating into sql and adding to migrations.")
> This project might be the right solution
> https://github.com/win7user10/Laraue.EfCoreTriggers
> https://www.nuget.org/packages/Laraue.EfCoreTriggers.PostgreSql/1.1.1, respectively.
> ("EfCoreTriggers is the library to write native SQL triggers using EFCore model builder. Triggers are automatically translating into sql and adding to migrations.")
>
thx, gotta look into that! @FunTom
This repo is archived. You cannot comment on issues.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
as #3 pointed, triggers for
Updatedattr had to be created in1442a2a664.those are, however, not present on db creation and we currently don't have a mechanism applying them automatically when they're not present, risking a situation where we're getting bogus values again.
we need a way to run our trigger creation script on apps first run or similar.
This project might be the right solution
https://github.com/win7user10/Laraue.EfCoreTriggers
https://www.nuget.org/packages/Laraue.EfCoreTriggers.PostgreSql/1.1.1, respectively.
("EfCoreTriggers is the library to write native SQL triggers using EFCore model builder. Triggers are automatically translating into sql and adding to migrations.")
thx, gotta look into that! @FunTom