diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2016-07-03 15:37:29 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2016-07-03 15:55:03 +0200 |
commit | 4107bc866b5a26254b315afb8c3102ce739a1ead (patch) | |
tree | 231dc129a5ad587dd556b6f9b0b7dc44f43a49d7 | |
parent | 6b196003cf968a8ec9670e217478e99d42b6840c (diff) | |
download | refinerycms-pc_banners-4107bc866b5a26254b315afb8c3102ce739a1ead.tar.gz refinerycms-pc_banners-4107bc866b5a26254b315afb8c3102ce739a1ead.tar.bz2 refinerycms-pc_banners-4107bc866b5a26254b315afb8c3102ce739a1ead.zip |
Undo changes in original migration.
Changing the initial migration makes it nontrivial to upgrade to a newer version
of the extension for apps where it's already installed. Don't do that!
-rw-r--r-- | app/views/refinery/banners/admin/banners/_form.html.erb | 8 | ||||
-rw-r--r-- | db/migrate/1_create_banners_banners.rb | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/app/views/refinery/banners/admin/banners/_form.html.erb b/app/views/refinery/banners/admin/banners/_form.html.erb index c4fbd21..2d6d848 100644 --- a/app/views/refinery/banners/admin/banners/_form.html.erb +++ b/app/views/refinery/banners/admin/banners/_form.html.erb @@ -41,12 +41,6 @@ </div> - <div class='field'> - <%= f.label :category -%> - <%= f.text_field :category -%> - - </div> - <% if Refinery::I18n.frontend_locales %> <div class='field'> <%= f.label :locale -%> @@ -86,5 +80,3 @@ :delete_title => t('delete', :scope => 'refinery.banners.admin.banners.banner'), :delete_confirmation => t('message', :scope => 'refinery.admin.delete', :title => @banner.name) %> <% end -%> - - diff --git a/db/migrate/1_create_banners_banners.rb b/db/migrate/1_create_banners_banners.rb index f815020..f9e350a 100644 --- a/db/migrate/1_create_banners_banners.rb +++ b/db/migrate/1_create_banners_banners.rb @@ -11,8 +11,6 @@ class CreateBannersBanners < ActiveRecord::Migration t.date :start_date t.date :expiry_date t.integer :position - t.string :category - t.text :body t.timestamps end |