All checks were successful
Frontend CI / build (push) Successful in 1m10s
### Description - In beta environment, `v0.3.0` migration has been run, a manual revertion is required; in real environment, there is nothing to do, but to do #97 and remove migration record for `v0.1.1` manually. ### Package Changes _No response_ ### Screenshots _No response_ ### Reference Resolves #95 ### Checklist - [x] A milestone is set - [x] The related issuse has been linked to this branch Reviewed-on: #98 Co-authored-by: SquidSpirit <squid@squidspirit.com> Co-committed-by: SquidSpirit <squid@squidspirit.com>
6 lines
169 B
PL/PgSQL
6 lines
169 B
PL/PgSQL
CREATE OR REPLACE FUNCTION update_updated_time_column() RETURNS TRIGGER AS $$
|
|
BEGIN
|
|
NEW.updated_time = CURRENT_TIMESTAMP;
|
|
return NEW;
|
|
END;
|
|
$$ LANGUAGE 'plpgsql'; |