0 votes

I am trialling skipper at the moment to see how it may benifit me. I am stuck in trying to enter a MySQL reserved word, I would like the default to be CURRENT_TIMESTAMP using a reserved word in MySql, and not be a string entry. Is this at all possible ?

Also, with the 'decimal' type field, is it possible to save under the size, multiple values. For example, decimals can be saved in MySQL as 10,2. When I generate the entity, it cancels out the value '2' and defaults it to '0'.

Thanks for any help!

in Solved by (120 points)
recategorized by

1 Answer

0 votes

Hi, as far as I know there is no way how to use MySQL commands as default values in any ORM (you didn't wrote which ORM you're using).

Please check your ORM documentation if it is possible to do that and if so send me a link to the doc.

by Skipper developer (141k points)