Skip to content

Commit

Permalink
migrations fixed: runs from empty
Browse files Browse the repository at this point in the history
  • Loading branch information
will-r committed Sep 16, 2009
1 parent 2becade commit 038f2cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions db/migrate/009_basic_authentication.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ class BasicAuthentication < ActiveRecord::Migration
def self.up def self.up
add_column :icals, :ical_username, :string add_column :icals, :ical_username, :string
add_column :icals, :ical_password, :string add_column :icals, :ical_password, :string
add_column :icals, :ical_use_https, :boolean
end end
def self.down def self.down
remove_column :icals, :ical_username remove_column :icals, :ical_username
remove_column :icals, :ical_password remove_column :icals, :ical_password
remove_column :icals, :ical_use_https
end end
end end
1 change: 0 additions & 1 deletion db/migrate/20090819130919_ownership.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ def self.up
add_column :calendars, :created_at, :datetime add_column :calendars, :created_at, :datetime
add_column :calendars, :updated_at, :datetime add_column :calendars, :updated_at, :datetime
add_column :calendars, :lock_version, :integer add_column :calendars, :lock_version, :integer
add_column :calendars, :site_id, :integer
end end


def self.down def self.down
Expand Down

0 comments on commit 038f2cf

Please sign in to comment.