diff --git a/db/migrate/20140725034309_add_gitlab_rights.rb b/db/migrate/20140725034309_add_gitlab_rights.rb index bdcd7f7ff..12a968888 100644 --- a/db/migrate/20140725034309_add_gitlab_rights.rb +++ b/db/migrate/20140725034309_add_gitlab_rights.rb @@ -15,7 +15,8 @@ class AddGitlabRights < ActiveRecord::Migration elsif role.name == '学生' end role.save() - end + end + end def down end diff --git a/db/schema.rb b/db/schema.rb index 4c51cf0d0..707c07214 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20140723012553) do +ActiveRecord::Schema.define(:version => 20140725034309) do create_table "activities", :force => true do |t| t.integer "act_id", :null => false @@ -434,6 +434,7 @@ ActiveRecord::Schema.define(:version => 20140723012553) do t.integer "project_id" t.string "repository_url" t.string "web_url" + t.string "localfile_url" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end @@ -443,6 +444,7 @@ ActiveRecord::Schema.define(:version => 20140723012553) do t.integer "user_id" t.string "email" t.string "password" + t.string "login", :null => false t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end