Skip to content

Commit

Permalink
Update line.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
kee236 committed Aug 23, 2024
1 parent 766e39b commit 2924b02
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions DB/line.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,14 @@ CREATE TABLE IF NOT EXISTS `line_config` (
`updated_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;


CREATE TABLE `line_notify_connections` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`user_id` INT(12) NOT NULL,
`access_token` VARCHAR(255) NOT NULL,
`status` ENUM('active', 'inactive') NOT NULL DEFAULT 'active',
`created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

0 comments on commit 2924b02

Please sign in to comment.