Additions en suggestions
Hello,
nice work. I would like to suggest some changes:
- instead of keyword ref|Ref I would use ref:|Ref: (This needs some rework probably. table columns starting with ref give an error now)
- Also use lowercase for tables, projects, etc.
- 'T_TABLE_SETTING_PK should be primary\skey|pk| (the y is missing)
- null is not accepted. not null is. The default in ColumnNode is false. This should be true as default when null is not accepted. (See below)
Syntax error, unexpected "null" (T_NULL)
43. | identificatieString varchar [unique, null]
| ^^^^
Maybe I will find more, I will be testing with some dbml's
Good work!
Jurjen Roels
I updated the description.
Great work. I am working on a laravel console command, that creates a migration for a dbml file. This depends completely on your parser! We will probably publish that as a separate package.
Great work. I am working on a laravel console command, that creates a migration for a dbml file. This depends completely on your parser! We will probably publish that as a separate package.
Hi, @JurjenRoels!
I developed this package for "laravel console command, that creates a migration for a dbml file" :D It was my first goal after creating it, but something went wrong and I started working on spiral framework and cycle ORM.
Hi Pavel,
if you want to, I can sent you my command once completed, so you can include it in this project?
Regards Jurjen