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

Add support for marking columns unique when creating database tables #19

Open
LukeTowers opened this issue Dec 17, 2021 · 1 comment
Open

Comments

@LukeTowers
Copy link
Member

Would be nice to add a checkbox to indicate that a given column should have a unique index added to it when building the table schema

@WebVPF
Copy link
Contributor

WebVPF commented Dec 26, 2021

unique and index

$table->unique('email');
$table->index('state');

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

No branches or pull requests

3 participants