feat(migrate): add AddCoverToPosts, down and CreateComments

This commit is contained in:
dualfroz committed 2026-09-06 12:51:57 +02:00
1 parent e29580f149
commit 56b040c2ad
12 files changed
+126

No files matched your search

@@ -0,0 +1,14 @@
class CreateLikes < Prism::Orm::Migration
def up
create_table :likes do |t|
t.integer :user_id
t.integer :likeable_id
t.string :likeable_type
t.timestamps
end
end
def down
drop_table :likes
end
end