From ed6ded5db01a2cf3f94396d763c21c0c11cd9717 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Wed, 20 Jan 2010 13:54:44 -0300 Subject: [PATCH] Renumbering migration --- db/migrate/080_add_visible_to_profiles.rb | 9 --------- db/migrate/081_add_visible_to_profiles.rb | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 db/migrate/080_add_visible_to_profiles.rb create mode 100644 db/migrate/081_add_visible_to_profiles.rb diff --git a/db/migrate/080_add_visible_to_profiles.rb b/db/migrate/080_add_visible_to_profiles.rb deleted file mode 100644 index 68ecc1d..0000000 --- a/db/migrate/080_add_visible_to_profiles.rb +++ /dev/null @@ -1,9 +0,0 @@ -class AddVisibleToProfiles < ActiveRecord::Migration - def self.up - add_column :profiles, :visible, :boolean, :default => true - end - - def self.down - remove_column :profiles, :visible - end -end diff --git a/db/migrate/081_add_visible_to_profiles.rb b/db/migrate/081_add_visible_to_profiles.rb new file mode 100644 index 0000000..68ecc1d --- /dev/null +++ b/db/migrate/081_add_visible_to_profiles.rb @@ -0,0 +1,9 @@ +class AddVisibleToProfiles < ActiveRecord::Migration + def self.up + add_column :profiles, :visible, :boolean, :default => true + end + + def self.down + remove_column :profiles, :visible + end +end -- libgit2 0.21.2