Merge pull request #2382 from wairbut-m2c/iagirre-admin-banner-migration
Migration to remove images and styles from banners
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 7.7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 23 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 21 KiB |
@@ -0,0 +1,6 @@
|
||||
class RemoveImageAndStyleFromBanners < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :banners, :image
|
||||
remove_column :banners, :style
|
||||
end
|
||||
end
|
||||
@@ -74,8 +74,6 @@ ActiveRecord::Schema.define(version: 20180711224810) do
|
||||
t.string "title", limit: 80
|
||||
t.string "description"
|
||||
t.string "target_url"
|
||||
t.string "style"
|
||||
t.string "image"
|
||||
t.date "post_started_at"
|
||||
t.date "post_ended_at"
|
||||
t.datetime "hidden_at"
|
||||
|
||||
Reference in New Issue
Block a user