Commit 9bc88512 by Thomas

Added a note about migrations in readme

parent 700404ee
...@@ -34,6 +34,18 @@ Then run: ...@@ -34,6 +34,18 @@ Then run:
rake gems:install 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 ### Usage
#### In your model: #### 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