holistics / holistics/dbml

sql2dbml fails for Mysql default time

Open
#136 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.7k
Forks
233
Avg merge
1d 23h
Merged PRs (30d)
4

Description

Hi, sql2dmbl returns an error when my table definition includes default time values

Sample create table script
```
CREATE TABLE test_table
(
id INT NOT NULL ,
time_field TIME DEFAULT 09:00:00,
PRIMARY KEY (id)
)
;
```

Error:
ERROR: You have a syntax error at "test_db.ddl" line 4 column 4. Expected ")" or fields but "t" found.

Can you please support mysql default time?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.