mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
9726 Remove attachment_width and attachment_height from spree_asset
This commit is contained in:
@@ -4,6 +4,8 @@ class RemoveAttachmentFieldsFromSpreeAsset < ActiveRecord::Migration[6.1]
|
||||
remove_column :spree_assets, :attachment_content_type, :string
|
||||
remove_column :spree_assets, :attachment_file_size, :integer
|
||||
remove_column :spree_assets, :attachment_updated_at, :datetime
|
||||
remove_column :spree_assets, :attachment_width, :integer
|
||||
remove_column :spree_assets, :attachment_height, :integer
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -420,8 +420,6 @@ ActiveRecord::Schema.define(version: 2022_10_04_165343) do
|
||||
|
||||
create_table "spree_assets", id: :serial, force: :cascade do |t|
|
||||
t.integer "viewable_id"
|
||||
t.integer "attachment_width"
|
||||
t.integer "attachment_height"
|
||||
t.integer "position"
|
||||
t.string "viewable_type", limit: 50
|
||||
t.string "type", limit: 75
|
||||
|
||||
Reference in New Issue
Block a user