mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 11:44:02 +00:00
Add frozen_string_literal magic comment
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
This commit is contained in:
parent
6775add832
commit
d8bd269a64
15 changed files with 28 additions and 2 deletions
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddCodeOfConductToOrganization < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :organizations, :code_of_conduct, :text
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddAcceptedCodeOfConductToRegistrations < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :registrations, :accepted_code_of_conduct, :boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue