迁移修改

GitlabVersion
nwb 11 years ago
parent 126cb93db2
commit 4e4878f8b1

@ -15,7 +15,8 @@ class AddGitlabRights < ActiveRecord::Migration
elsif role.name == '学生' elsif role.name == '学生'
end end
role.save() role.save()
end end
end
def down def down
end end

@ -11,7 +11,7 @@
# #
# It's strongly recommended to check this file into your version control system. # 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| create_table "activities", :force => true do |t|
t.integer "act_id", :null => false t.integer "act_id", :null => false
@ -434,6 +434,7 @@ ActiveRecord::Schema.define(:version => 20140723012553) do
t.integer "project_id" t.integer "project_id"
t.string "repository_url" t.string "repository_url"
t.string "web_url" t.string "web_url"
t.string "localfile_url"
t.datetime "created_at", :null => false t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false t.datetime "updated_at", :null => false
end end
@ -443,6 +444,7 @@ ActiveRecord::Schema.define(:version => 20140723012553) do
t.integer "user_id" t.integer "user_id"
t.string "email" t.string "email"
t.string "password" t.string "password"
t.string "login", :null => false
t.datetime "created_at", :null => false t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false t.datetime "updated_at", :null => false
end end

Loading…
Cancel
Save