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

[v2] Behavior sluggable enforces index creation #321

Open
ghost opened this issue Jan 26, 2015 · 0 comments
Open

[v2] Behavior sluggable enforces index creation #321

ghost opened this issue Jan 26, 2015 · 0 comments
Labels

Comments

@ghost
Copy link

ghost commented Jan 26, 2015

After adding the behavior "sluggable" some migrations before

<behavior name="sluggable" />

in every new migration generated with

app/console propel:migration:diff

the sluggable index shall be dropped and created again

DROP INDEX `my_table_slug` ON `my_table`;
CREATE UNIQUE INDEX `my_table_slug` ON `my_table` (`slug`(255));
@ghost ghost changed the title [v2] Bhavior slugable enforces index creation [v2] Behavior sluggable enforces index creation Jan 26, 2015
@marcj marcj added the Propel2 label Jan 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant