Commit 75181e0e by Ryan Bigg

Merge pull request #11 from anathematic/master

Updated your readme for migrations note
parents 700404ee 9bc88512
......@@ -34,6 +34,18 @@ Then run:
rake gems:install
#### Run your migrations for the desired models
class AddDeletedAtToClient < ActiveRecord::Migration
def self.up
add_column :clients, :deleted_at, :datetime
end
def self.down
remove_column :clients, :deleted_at
end
end
### Usage
#### In your model:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment