Add support for column default values parsing #23
Labels
DBML Parser
Work related to the DBML Parsing component
hacktoberfest
Check out https://hacktoberfest.digitalocean.com and contribute!
So far, dbml-parser doesn't properly handle column defaults defined in DBML, as such:
You can set default value as:
number value starts blank:
default: 123
ordefault: 123.456
string value starts with single quotes:
default: 'some string value'
expression value is wrapped with parenthesis:
default:
now() - interval '5 days'``boolean (true/false/null):
default: false
or `default: null`The text was updated successfully, but these errors were encountered: