9726 Remove attachment_width and attachment_height from spree_asset

This commit is contained in:
AthiraKadampatta
2022-10-07 23:38:04 +05:30
parent addd2ea9ac
commit e5a136801d
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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