Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
update db
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLime1 committed Mar 30, 2024
1 parent ba1267c commit b2d7e67
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions sql/5ademni.sql → sql/joblist.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Mar 30, 2024 at 12:31 PM
-- Generation Time: Mar 30, 2024 at 01:03 PM
-- Server version: 8.2.0
-- PHP Version: 8.2.13

Expand All @@ -23,6 +23,19 @@ SET time_zone = "+00:00";

-- --------------------------------------------------------

--
-- Table structure for table `employmenttypes`
--

DROP TABLE IF EXISTS `employmenttypes`;
CREATE TABLE IF NOT EXISTS `employmenttypes` (
`EmploymentTypeID` int NOT NULL,
`EmploymentTypeName` varchar(50) DEFAULT NULL,
PRIMARY KEY (`EmploymentTypeID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `fields`
--
Expand Down Expand Up @@ -59,13 +72,31 @@ DROP TABLE IF EXISTS `jobpostings`;
CREATE TABLE IF NOT EXISTS `jobpostings` (
`JobID` int NOT NULL,
`Title` varchar(100) DEFAULT NULL,
`Company` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`Location` varchar(100) DEFAULT NULL,
`PostingDate` datetime DEFAULT CURRENT_TIMESTAMP,
`SalaryRange` varchar(50) DEFAULT NULL,
`EmploymentType` varchar(50) DEFAULT NULL,
`FieldID` int DEFAULT NULL,
`LevelID` int DEFAULT NULL,
`EmploymentTypeID` int DEFAULT NULL,
PRIMARY KEY (`JobID`),
KEY `FieldID` (`FieldID`)
KEY `FieldID` (`FieldID`),
KEY `LevelID` (`LevelID`),
KEY `EmploymentTypeID` (`EmploymentTypeID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `levels`
--

DROP TABLE IF EXISTS `levels`;
CREATE TABLE IF NOT EXISTS `levels` (
`LevelID` int NOT NULL,
`LevelName` varchar(100) DEFAULT NULL,
PRIMARY KEY (`LevelID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
COMMIT;

Expand Down

0 comments on commit b2d7e67

Please sign in to comment.