How would you produce this in DO:
SomeDate DATETIME NOT NULL DEFAULT GETDATE()
I can do the DATETIME and NOT NULL parts, but can't get the default value to be GETDATE() instead of a literal date value (a FormatException is thrown during Domain.Build()).
asked Feb 21 '14 at 04:21
We have plans to support SQL expressions as well but this is not yet implemented.
In the code you could always initialize the value in the constructor anyway you want.
answered Feb 21 '14 at 07:22