Logo
Explore Help
Sign In
mmoser/skill-assessment-app
1
0
Fork 0
You've already forked skill-assessment-app
Code Issues Pull Requests Releases Wiki Activity
skill-assessment-app/db/migrate/20160727154057_add_quiz_to_candidate.rb

8 lines
192 B
Ruby
Raw Normal View History

rubocop noise: fixes FrozenStringLiteralComment Adding the .ruby-verison file triggered previously un-run cops, specifically: This cop is designed to help upgrade to Ruby 3.0. It will add the comment `# frozen_string_literal: true` to the top of files to enable frozen string literals. Frozen string literals will be default in Ruby 3.0. The comment will be added below a shebang and encoding comment. The frozen string literal comment is only valid in Ruby 2.3+. More info on rubocop [Automatic-Corrections](https://github.com/bbatsov/rubocop/wiki/Automatic-Corrections)
2016-09-08 10:25:33 -05:00
# frozen_string_literal: true
big start on QuizStatus
2016-07-27 11:17:50 -05:00
class AddQuizToCandidate < ActiveRecord::Migration[5.0]
def change
add_column :candidates, :quiz_id, :integer
add_index :candidates, :quiz_id
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 30ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API