diff --git a/src/main/resources/db/migration/V11__db_training_definition_created_at.sql b/src/main/resources/db/migration/V11__db_training_definition_created_at.sql index b69d5eb0dcea788fd1516c3ba924c9b5fb918b20..5ffce87a4128349bdb6690be49f166c6aeecdb50 100644 --- a/src/main/resources/db/migration/V11__db_training_definition_created_at.sql +++ b/src/main/resources/db/migration/V11__db_training_definition_created_at.sql @@ -1 +1 @@ -alter table training_definition add column created_at timestamp not null; +alter table training_definition add column created_at timestamp not null default current_timestamp;