修改表结构
This commit is contained in:
parent
a22e082cb5
commit
1a7c82174c
|
@ -34,4 +34,8 @@ module OpenSourceProjectsHelper
|
|||
def get_open_source_projects_by_tag(tag_name)
|
||||
OpenSourceProject.tagged_with(tag_name).order('created_at desc')
|
||||
end
|
||||
|
||||
def show_origin(url)
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
class AddAuthorToRelativeMemo < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :relative_memos, :username, :string
|
||||
add_column :relative_memos, :userhomeurl, :string
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue