admin views roughed in
This commit is contained in:
5
db/migrate/20160818225721_add_name_to_quiz.rb
Normal file
5
db/migrate/20160818225721_add_name_to_quiz.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class AddNameToQuiz < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :quizzes, :name, :string, after: :id
|
||||
end
|
||||
end
|
@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20160803003932) do
|
||||
ActiveRecord::Schema.define(version: 20160818225721) do
|
||||
|
||||
create_table "answers", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
||||
t.integer "candidate_id"
|
||||
@ -62,6 +62,7 @@ ActiveRecord::Schema.define(version: 20160803003932) do
|
||||
t.string "dept"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "name"
|
||||
end
|
||||
|
||||
create_table "users", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
||||
|
Reference in New Issue
Block a user