UUID Marked as a Syntax Error in MySQL Adapter
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 3.7k
- Forks
- 233
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 4
Description
I have begun a new dbdocs project with two legacy MariaDB databases. Currently, there is a column called `api_key` that is of `uuid` datatype and is causing a syntax error:
```sql
`api_key` uuid NOT NULL,
```
```
$ sql2dbml ~/Repos/myhi/db/structure.sql -o ./database.dbml --mysql
ERROR:
You have a syntax error at "structure.sql" line 1899 column 12. no viable alternative at input '...,\n `api_key` uuid'
A complete log can be found in:
/Users/ben/Repos/dbdocs/dbml-error.log
```
I'm wondering it it's possible to update the parser to recognize uuid's?
Contributor guide
Assessment
This issue has not been assessed yet.