update 15 docker CI
This commit is contained in:
@@ -22,58 +22,6 @@ CREATE TABLE `late_slip_logs` (
|
|||||||
`printed_by` int DEFAULT NULL,
|
`printed_by` int DEFAULT NULL,
|
||||||
`printed_at` datetime NOT NULL
|
`printed_at` datetime NOT NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `login_activity`
|
|
||||||
--
|
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE `login_activity` (
|
|
||||||
|
|
||||||
`id` int UNSIGNED NOT NULL,
|
|
||||||
|
|
||||||
`user_id` int NOT NULL,
|
|
||||||
|
|
||||||
`email` varchar(255) NOT NULL,
|
|
||||||
|
|
||||||
`login_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
||||||
|
|
||||||
`logout_time` timestamp NULL DEFAULT NULL,
|
|
||||||
|
|
||||||
`ip_address` varchar(255) NOT NULL,
|
|
||||||
|
|
||||||
`user_agent` varchar(255) NOT NULL,
|
|
||||||
|
|
||||||
`created_at` datetime DEFAULT NULL,
|
|
||||||
|
|
||||||
`updated_at` datetime DEFAULT NULL,
|
|
||||||
|
|
||||||
`semester` varchar(255) NOT NULL,
|
|
||||||
|
|
||||||
`school_year` varchar(9) DEFAULT NULL
|
|
||||||
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `longanswerquestions`
|
|
||||||
--
|
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE `longanswerquestions` (
|
|
||||||
|
|
||||||
`id` int NOT NULL,
|
|
||||||
|
|
||||||
`la_question_id` int NOT NULL,
|
|
||||||
|
|
||||||
`question_id` int NOT NULL,
|
|
||||||
|
|
||||||
`correct_answer` text COLLATE utf8mb4_general_ci
|
|
||||||
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
|
||||||
SQL
|
SQL
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -98,4 +46,4 @@ SQL
|
|||||||
{
|
{
|
||||||
Schema::dropIfExists('late_slip_logs');
|
Schema::dropIfExists('late_slip_logs');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user