Skip to content
Browse files

migrations fixed: runs from empty

  • Loading branch information...
1 parent 2becade commit 038f2cf2323a968f5c436795404a074f4f070429 @will-r will-r committed Sep 16, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −0 db/migrate/009_basic_authentication.rb
  2. +0 −1 db/migrate/20090819130919_ownership.rb
View
2 db/migrate/009_basic_authentication.rb
@@ -2,9 +2,11 @@ class BasicAuthentication < ActiveRecord::Migration
def self.up
add_column :icals, :ical_username, :string
add_column :icals, :ical_password, :string
+ add_column :icals, :ical_use_https, :boolean
end
def self.down
remove_column :icals, :ical_username
remove_column :icals, :ical_password
+ remove_column :icals, :ical_use_https
end
end
View
1 db/migrate/20090819130919_ownership.rb
@@ -5,7 +5,6 @@ def self.up
add_column :calendars, :created_at, :datetime
add_column :calendars, :updated_at, :datetime
add_column :calendars, :lock_version, :integer
- add_column :calendars, :site_id, :integer
end
def self.down

0 comments on commit 038f2cf

Please sign in to comment.
Something went wrong with that request. Please try again.