migration.V2__oauth_tokens.sql Maven / Gradle / Ivy
CREATE TABLE `oauth_details` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) NOT NULL,
`provider` varchar(100) NOT NULL,
`config` mediumtext NOT NULL,
`created_ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `idx_provider` (`provider`),
KEY `idx_user_id` (`user_id`)
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy