Search
Project
General
Profile
Home
Projects
Help
Sign in
Register
Search
:
Redmine
All Projects
Redmine
Overview
Download
Activity
Roadmap
Issues
News
Wiki
Plugins
Forums
Repository
Download (221 Bytes)
Feature #7554
» 20111018230420_add_author_id_to_documents.rb
Preethi Sriram
, 2011-11-02 18:58
class
AddAuthorIdToDocuments
<
ActiveRecord
::
Migration
def
self
.
up
add_column
:documents
,
:author_id
,
:integer
,
:default
=>
0
,
:null
=>
false
end
def
self
.
down
remove_column
:documents
,
:author_id
end
end
« Previous
1
2
3
4
5
6
Next »
(4-4/6)
Loading...