From 670913698776e09b7ff44f44ccdcf56303d79be3 Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Thu, 6 Sep 2018 13:58:40 +0300
Subject: merge legacy www

---
 juick-server/src/main/resources/schema.sql | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'juick-server/src/main/resources/schema.sql')

diff --git a/juick-server/src/main/resources/schema.sql b/juick-server/src/main/resources/schema.sql
index 851b764b..2e8fad9b 100644
--- a/juick-server/src/main/resources/schema.sql
+++ b/juick-server/src/main/resources/schema.sql
@@ -23,12 +23,12 @@ CREATE TABLE IF NOT EXISTS `bl_users` (
 );
 CREATE TABLE IF NOT EXISTS `facebook` (
   `user_id` int(10) unsigned DEFAULT NULL,
-  `fb_id` bigint(20) unsigned NOT NULL,
+  `fb_id` bigint(20) unsigned NULL,
   `loginhash` char(36) DEFAULT NULL,
   `access_token` char(255) DEFAULT NULL,
   `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  `fb_name` char(64) NOT NULL,
-  `fb_link` char(255) NOT NULL,
+  `fb_name` char(64) NULL,
+  `fb_link` char(255) NULL,
   `crosspost` tinyint(1) unsigned NOT NULL DEFAULT '1'
 );
 
-- 
cgit v1.2.3

