create_print_job_log_table.sql を削除
Some checks failed
Deploy main / deploy (push) Has been cancelled
Some checks failed
Deploy main / deploy (push) Has been cancelled
This commit is contained in:
parent
4dda16c494
commit
8e59aadb8e
@ -1,24 +0,0 @@
|
||||
--
|
||||
-- SHJ-6 プリンタジョブログテーブル
|
||||
-- プリンタ制御プログラムの実行ログを保存するテーブル
|
||||
--
|
||||
|
||||
CREATE TABLE `print_job_log` (
|
||||
`log_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '処理ログID(PK)',
|
||||
`park_id` int(10) UNSIGNED DEFAULT NULL COMMENT '駐輪場ID',
|
||||
`user_id` int(10) UNSIGNED DEFAULT NULL COMMENT 'ユーザーID',
|
||||
`contract_id` int(10) UNSIGNED DEFAULT NULL COMMENT '契約ID',
|
||||
`process_name` varchar(255) DEFAULT NULL COMMENT 'プロセス名',
|
||||
`job_name` varchar(255) DEFAULT NULL COMMENT 'ジョブ名',
|
||||
`status` varchar(255) DEFAULT NULL COMMENT 'ステータス',
|
||||
`error_code` int(10) UNSIGNED DEFAULT NULL COMMENT 'エラーコード',
|
||||
`status_comment` varchar(255) DEFAULT NULL COMMENT 'ステータスコメント',
|
||||
`created_at` datetime DEFAULT NULL COMMENT '登録日時',
|
||||
PRIMARY KEY (`log_id`),
|
||||
KEY `idx_park_id` (`park_id`),
|
||||
KEY `idx_user_id` (`user_id`),
|
||||
KEY `idx_contract_id` (`contract_id`),
|
||||
KEY `idx_error_code` (`error_code`),
|
||||
KEY `idx_created_at` (`created_at`),
|
||||
KEY `idx_created_error` (`created_at`, `error_code`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='プリンタジョブログテーブル';
|
||||
Loading…
Reference in New Issue
Block a user