Skip to content

Instantly share code, notes, and snippets.

@bionicpill
Created September 21, 2011 01:17
Show Gist options
  • Save bionicpill/1230935 to your computer and use it in GitHub Desktop.
Save bionicpill/1230935 to your computer and use it in GitHub Desktop.
class AddMailedFlagToTours < ActiveRecord::Migration
def self.up
add_column :tours, :mailed, :boolean, {:null => false, :default => false}
end
def self.down
remove_column :tours, :mailed
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment