What is the correct syntax to set a column's default to the current user?
When I try something like this
CREATE TABLE `Test` (`Editor` TEXT (3) DEFAULT '(CVAL('user'))')I get this -ERROR- Default length must be no longer than 60 chars (2791)
What is the correct syntax to set a column's default to the current user?
When I try something like this
CREATE TABLE `Test` (`Editor` TEXT (3) DEFAULT '(CVAL('user'))')I get this -ERROR- Default length must be no longer than 60 chars (2791)