Add email comments to posts
This commit is contained in:
9
db/migrate/20240309210727_add_commentable_to_posts.rb
Normal file
9
db/migrate/20240309210727_add_commentable_to_posts.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
ROM::SQL.migration do
|
||||
change do
|
||||
alter_table :posts do
|
||||
add_column :commentable, :boolean, default: false
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user