feat(migrate): add AddIndexOnPostsUserId, down and AddSlugToPosts

This commit is contained in:
dualfroz committed 2026-09-06 14:24:37 +02:00
1 parent d9f5a673e3
commit 66ed34b69d
9 files changed
+130

No files matched your search

@@ -0,0 +1,9 @@
class AddFeaturedToPosts < Prism::Orm::Migration
def up
add_column :posts, :featured, default: false
end
def down
remove_column :posts, :featured
end
end