@@ -2455,43 +2455,6 @@ CREATE TABLE `user_settings` (
24552455 CONSTRAINT ` user_settings_user_id_foreign` FOREIGN KEY (` user_id` ) REFERENCES ` users` (` id` ) ON DELETE CASCADE ON UPDATE CASCADE
24562456) ENGINE= InnoDB DEFAULT CHARSET= utf8mb4 COLLATE= utf8mb4_unicode_ci;
24572457/* !40101 SET character_set_client = @saved_cs_client */ ;
2458-
2459- DROP TABLE IF EXISTS ` user_settings` ;
2460- /* !40101 SET @saved_cs_client = @@character_set_client */ ;
2461- /* !50503 SET character_set_client = utf8mb4 */ ;
2462- CREATE TABLE `user_settings ` (
2463- ` id` int unsigned NOT NULL AUTO_INCREMENT,
2464- ` user_id` int unsigned NOT NULL ,
2465- ` censor` tinyint (1 ) NOT NULL DEFAULT ' 0' ,
2466- ` visible_news` tinyint (1 ) NOT NULL DEFAULT ' 1' ,
2467- ` visible_chat` tinyint (1 ) NOT NULL DEFAULT ' 1' ,
2468- ` visible_featured` tinyint (1 ) NOT NULL DEFAULT ' 1' ,
2469- ` visible_random_media` tinyint (1 ) NOT NULL DEFAULT ' 1' ,
2470- ` visible_poll` tinyint (1 ) NOT NULL DEFAULT ' 1' ,
2471- ` visible_top_torrents` tinyint (1 ) NOT NULL DEFAULT ' 1' ,
2472- ` visible_top_users` tinyint (1 ) NOT NULL DEFAULT ' 1' ,
2473- ` visible_latest_topics` tinyint (1 ) NOT NULL DEFAULT ' 1' ,
2474- ` visible_latest_posts` tinyint (1 ) NOT NULL DEFAULT ' 1' ,
2475- ` visible_latest_comments` tinyint (1 ) NOT NULL DEFAULT ' 1' ,
2476- ` online_visible` tinyint (1 ) NOT NULL DEFAULT ' 1' ,
2477- ` locale` varchar (255 ) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' en' ,
2478- ` style` tinyint unsigned NOT NULL DEFAULT ' 0' ,
2479- ` torrent_layout` tinyint unsigned NOT NULL DEFAULT ' 0' ,
2480- ` torrent_filters` tinyint (1 ) NOT NULL DEFAULT ' 0' ,
2481- ` custom_css` varchar (255 ) COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2482- ` standalone_css` varchar (255 ) COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2483- ` show_poster` tinyint (1 ) NOT NULL DEFAULT ' 0' ,
2484- ` unbookmark_torrents_on_completion` tinyint (1 ) NOT NULL ,
2485- ` torrent_sort_field` varchar (255 ) COLLATE utf8mb4_unicode_ci NOT NULL ,
2486- ` torrent_search_autofocus` tinyint (1 ) NOT NULL DEFAULT ' 1' ,
2487- ` created_at` timestamp NULL DEFAULT NULL ,
2488- ` updated_at` timestamp NULL DEFAULT NULL ,
2489- PRIMARY KEY (` id` ),
2490- UNIQUE KEY ` user_settings_user_id_unique` (` user_id` ),
2491- CONSTRAINT ` user_settings_user_id_foreign` FOREIGN KEY (` user_id` ) REFERENCES ` users` (` id` ) ON DELETE CASCADE ON UPDATE CASCADE
2492- ) ENGINE= InnoDB DEFAULT CHARSET= utf8mb4 COLLATE= utf8mb4_unicode_ci;
2493- /* !40101 SET character_set_client = @saved_cs_client */ ;
2494-
24952458DROP TABLE IF EXISTS ` users` ;
24962459/* !40101 SET @saved_cs_client = @@character_set_client */ ;
24972460/* !50503 SET character_set_client = utf8mb4 */ ;
0 commit comments