-
-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: need to adjust generate from table output #308
Comments
I also noticed in your sample file you have it formatting the fields like this:
but in the actual output from table they are formatted like this:
What is this are is it now part of the generator?
if they are now part of it i would format the main sample file to copy the new format accordingly weather they are used on everyfield or not. Its getting a bit confusing. Also in relation fields we should add 2 more options for update and delete "cascade"
|
@madsynn it's already there, also dbType is supported and you can specify it. relationship you can define like |
@madsynn at the moment we don't have any support related to guarded but we will keep in our queue. |
The first item generated is the id:increments and its being generated like "fieldInput": "id:integer,true,true", and reverse these two. "inForm": true, "inIndex": false
Model.php
Also on the date fields you should change to false by default.
The text was updated successfully, but these errors were encountered: