Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
add missing cols to down method in 1st migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew vonderLuft committed Jul 31, 2009
1 parent 8603f56 commit d87a4b0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions db/migrate/001_update_schemata.rb
Expand Up @@ -16,10 +16,14 @@ def self.up
end

def self.down
remove_column :page_parts, :draft_content
remove_column :pages, :draft_promotion_scheduled_at
remove_column :pages, :draft_promoted_at
remove_column :page_parts, :draft_content
remove_column :pages,:draft_promoted_at
remove_column :snippets, :draft_content
remove_column :snippets, :draft_promotion_scheduled_at
remove_column :snippets, :draft_promoted_at
remove_column :layouts, :draft_content
remove_column :layouts, :draft_promotion_scheduled_at
remove_column :layouts, :draft_promoted_at
end
end

0 comments on commit d87a4b0

Please sign in to comment.