-
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
3852d57
commit 6fc5d46
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
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,8 @@ | ||
class AddOrganizingCommitteeToContest < ActiveRecord::Migration[7.0] | ||
def change | ||
change_table :contests, bulk: true do |t| | ||
t.string :head_of_organizing_committee, null: false, default: '' | ||
t.string :secretary_of_organizing_committee, null: false, default: '' | ||
end | ||
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