CREATE TABLE IF NOT EXISTS `links` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `url` varchar(255) NOT NULL ,
    `user_id` int(11) NOT NULL,
    `expired_at` timestamp NULL DEFAULT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 1 DEFAULT CHARSET = utf8mb4 COLLATE = UTF8MB4_UNICODE_CI;

ALTER TABLE `users`
ADD COLUMN  `guest`  tinyint(3) DEFAULT 0 AFTER `email`;

  INSERT INTO `roles` (`id`, `name`, `all`, `sort`, `status`, `created_by`, `updated_by`, `created_at`, `updated_at`, `deleted_at`) VALUES (NULL, 'Guest', '0', '5', '1', '1', NULL, '2023-11-07 00:02:21', '2023-11-07 00:02:21', NULL);
