# -*- encoding : utf-8 -*-
class QuestionMigration < ActiveRecord::Migration[5.0]
  def self.up
    create_table :questions do |t|
    	t.string :questions
      t.string :answer
      t.integer :level_id
      t.timestamps null: false
    end
  end

  def self.down
    drop_table :questions
  end
end
