stephenjude / filament-blog

A faceless blog content manager with configurable richtext and markdown support for filament admin panel
MIT License
155 stars 37 forks source link

Reoder down method. Fixes rollback issue #40

Closed Summonshr closed 1 year ago

Summonshr commented 1 year ago

Fixes the below error:

Rollback option is not working due to this error:

SQLSTATE[2BP01]: Dependent objects still exist: 7 ERROR: cannot drop table blog_categories because other objects depend on it DETAIL: constraint blog_posts_blog_category_id_foreign on table blog_posts depends on table blog_categories HINT: Use DROP ... CASCADE to drop the dependent objects too. (Connection: pgsql, SQL: drop table if exists "blog_categories")

stephenjude commented 1 year ago

Thank you @Summonshr