Skip to content
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] Improve Model add #14

Open
robsontenorio opened this issue Mar 6, 2020 · 7 comments
Open

[Feature] Improve Model add #14

robsontenorio opened this issue Mar 6, 2020 · 7 comments
Milestone

Comments

@robsontenorio
Copy link

As described on README we can add a type and a rule when creating models.

Would be nice to have two combobox with all available options for each type and rule, instead of a text field.

For flexibility in each combox a option other that will enable a input text.

Captura de tela de 2020-03-06 18 47 12

@mtolhuys
Copy link
Owner

mtolhuys commented Mar 6, 2020

Good one! Have been thinking about syntax validation but a combobox would even remove that necessity.

@robsontenorio
Copy link
Author

Yes, you can remove all syntax validation complexity :)

@prnxdev
Copy link

prnxdev commented Mar 6, 2020

Add id as default for new model (with ability to remove it). Also I think timestamps should be checked as default.

When you are creating new model with id please use

$table->id();

🙂

@mtolhuys
Copy link
Owner

mtolhuys commented Mar 7, 2020

@pawel-miczka Yeah, nice, working on it! Coming with 0.9.10.

@mtolhuys mtolhuys added this to the v1.0.1 milestone Mar 7, 2020
@prnxdev
Copy link

prnxdev commented Mar 7, 2020

I also found that there is no option to add bigInteger for column type (for ex. for foreign key) which is default for ids in Laravel.

@mtolhuys
Copy link
Owner

mtolhuys commented Mar 7, 2020

Ah, good one yeah, I'll take that to 0.9.10 as well.

@mtolhuys
Copy link
Owner

mtolhuys commented Mar 7, 2020

@pawel-miczka Waiting for the pipeline in develop to merge support for these:

Screenshot from 2020-03-07 21-35-37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants