Files
adamantium/config/db/migrate/20230131084956_add_photos_to_posts.rb
2024-08-05 19:00:09 +10:00

10 lines
169 B
Ruby

# frozen_string_literal: true
ROM::SQL.migration do
change do
alter_table :posts do
add_column :photos, :json, default: "[]", null: false
end
end
end