Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paranoia
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paranoia
Commits
9bc88512
Commit
9bc88512
authored
Jun 03, 2011
by
Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a note about migrations in readme
parent
700404ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
README.md
+12
-0
No files found.
README.md
View file @
9bc88512
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment