Closed gramian closed 1 month ago
This change syncs the the assignment of a default value in CREATE PROPERTY to the way it is done in ALTER PROPERTY (see https://github.com/ArcadeData/arcadedb/blob/main/engine/src/main/java/com/arcadedb/query/sql/parser/AlterPropertyStatement.java#L96 ).
CREATE PROPERTY
ALTER PROPERTY
Using sysdate in a default value was evaluated at property creation time not at record creation time.
sysdate
https://github.com/ArcadeData/arcadedb/issues/1609
mvn clean package
Awesome, thanks @gramian !
What does this PR do?
This change syncs the the assignment of a default value in
CREATE PROPERTY
to the way it is done inALTER PROPERTY
(see https://github.com/ArcadeData/arcadedb/blob/main/engine/src/main/java/com/arcadedb/query/sql/parser/AlterPropertyStatement.java#L96 ).Motivation
Using
sysdate
in a default value was evaluated at property creation time not at record creation time.Related issues
https://github.com/ArcadeData/arcadedb/issues/1609
Checklist
mvn clean package
command