Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add organizing committee info to contest #436

Merged
merged 1 commit into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
7 changes: 5 additions & 2 deletions db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ CREATE TABLE public.contests (
archive_open boolean DEFAULT false NOT NULL,
institutions character varying[] DEFAULT '{}'::character varying[] NOT NULL,
statistic_open boolean DEFAULT false NOT NULL,
main_judge character varying DEFAULT ''::character varying NOT NULL
main_judge character varying DEFAULT ''::character varying NOT NULL,
head_of_organizing_committee character varying DEFAULT ''::character varying NOT NULL,
secretary_of_organizing_committee character varying DEFAULT ''::character varying NOT NULL
);


Expand Down Expand Up @@ -921,6 +923,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20230902145307'),
('20230902145308'),
('20230902145309'),
('20230930203405');
('20230930203405'),
('20231110173126');