修改表结构

This commit is contained in:
fanqiang 2014-05-15 10:05:05 +08:00
parent a22e082cb5
commit 1a7c82174c
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,6 @@
class AddAuthorToRelativeMemo < ActiveRecord::Migration
def change
add_column :relative_memos, :username, :string
add_column :relative_memos, :userhomeurl, :string
end
end