From 8a085ad1a1030657c289a9191755099bd461f5e0 Mon Sep 17 00:00:00 2001 From: Charlotte Brandhorst-Satzkorn Date: Tue, 22 Dec 2020 12:14:26 +0000 Subject: [PATCH] job_board schema Fields as detailed in issue #15 --- .../migrations/10_add_job_board.up.sql | 93 +++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 conferences/migrations/10_add_job_board.up.sql diff --git a/conferences/migrations/10_add_job_board.up.sql b/conferences/migrations/10_add_job_board.up.sql new file mode 100644 index 0000000..8c93724 --- /dev/null +++ b/conferences/migrations/10_add_job_board.up.sql @@ -0,0 +1,93 @@ +BEGIN; + +CREATE TABLE job_board( +id SERIAL PRIMARY KEY, +company_name TEXT NOT NULL, +title TEXT NOT NULL, +description TEXT NOT NULL, +link TEXT NOT NULL, +discord TEXT NOT NULL, +rank INT NOT NULL +); + +INSERT INTO job_board( + company_name, + title, + description, + link, + discord, + rank +) VALUES ( + "Skynet", + "T1000 Engineer", + "Assisting the robot takeover", + "https://skynet.io/terminator", + "https://discord.gg/termi-time" + 1 +); + +INSERT INTO job_board( + company_name, + title, + description, + link, + discord, + rank +) VALUES ( + "Pandora Mining Corp", + "Avatar Driver", + "Gaining insight into Pandoras other species", + "https://pandominer.org/jobs", + "https://discord.gg/pandora" + 2 +); + +INSERT INTO job_board( + company_name, + title, + description, + link, + discord, + rank +) VALUES ( + "DC Red Project", + "Customer Refund Assistant", + "Assist customers to recieve their refunds", + "https://syberfunk.gg", + "https://discord.gg/woops" + 3 +); + +INSERT INTO job_board( + company_name, + title, + description, + link, + discord, + rank +) VALUES ( + "Slowly", + "Software Engineer", + "Slow development styles are a must", + "https://syberfunk.gg", + "https://discord.gg/slowly" + 4 +); + +INSERT INTO job_board( + company_name, + title, + description, + link, + discord, + rank +) VALUES ( + "gopheRPC", + "Full-time Pancakes walker", + "Looking for a energetic gopher to support pancakes", + "https://gopheRPC.gg/pancakes-job", + "https://discord.gg/gopheRC", + 5 +); + +COMMIT; \ No newline at end of file