Initial commit
This commit is contained in:
11
db/migrate/20230103215311_combine_posts_and_bookmarks.rb
Normal file
11
db/migrate/20230103215311_combine_posts_and_bookmarks.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
ROM::SQL.migration do
|
||||
change do
|
||||
drop_table :bookmarks
|
||||
alter_table :posts do
|
||||
add_column :url, :text
|
||||
add_column :post_type, :text
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user