-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add organizing committee info to contest
Resolves: #279 Resolves: #280 Signed-off-by: Kostiantyn Kostiuk <[email protected]>
- Loading branch information
1 parent
19308db
commit f43d361
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
db/migrate/20231110173126_add_organizing_committee_to_contest.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddOrganizingCommitteeToContest < ActiveRecord::Migration[7.0] | ||
def change | ||
add_column :contests, :head_of_organizing_committee, :string, null: false, default: '' | ||
Check notice Code scanning / Rubocop Check whether alter queries are combinable. Note
Rails/BulkChangeTable: You can use change\_table :contests, bulk: true to combine alter queries.
|
||
add_column :contests, :secretary_of_organizing_committee, :string, null: false, default: '' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters