From 3f977e7dfde2d920efa736f41708299b8ad8c597 Mon Sep 17 00:00:00 2001 From: n1rwana Date: Wed, 2 Aug 2023 15:53:26 +0300 Subject: [PATCH] Update 00038-geodb.sql --- install/sqls/00038-geodb.sql | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/install/sqls/00038-geodb.sql b/install/sqls/00038-geodb.sql index 6a236f31..9a3f7c40 100644 --- a/install/sqls/00038-geodb.sql +++ b/install/sqls/00038-geodb.sql @@ -129,13 +129,13 @@ ALTER TABLE `geodb_universities` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; ALTER TABLE `profiles` - ADD `country` VARCHAR(60) NOT NULL AFTER `activated`, - ADD `country_id` BIGINT UNSIGNED NOT NULL AFTER `country`, - ADD `city_id` BIGINT UNSIGNED NOT NULL AFTER `country_id`, - ADD `school_id` BIGINT UNSIGNED NOT NULL AFTER `city_id`, - ADD `school_years` TINYTEXT NOT NULL AFTER `school_id`, - ADD `school_specialization` TINYTEXT NOT NULL AFTER `school_years`, - ADD `university_years` TINYTEXT NOT NULL AFTER `school_specialization`, - ADD `university_specialization` TINYTEXT NOT NULL AFTER `university_years`, - ADD `university` BIGINT UNSIGNED NOT NULL AFTER `university_specialization`, - ADD `university_faculty` BIGINT UNSIGNED NOT NULL AFTER `university`; + ADD `country` VARCHAR(60) NULL DEFAULT NULL AFTER `activated`, + ADD `country_id` BIGINT UNSIGNED NULL DEFAULT NULL AFTER `country`, + ADD `city_id` BIGINT UNSIGNED NULL DEFAULT NULL AFTER `country_id`, + ADD `school_id` BIGINT UNSIGNED NULL DEFAULT NULL AFTER `city_id`, + ADD `school_years` TINYTEXT NULL DEFAULT NULL AFTER `school_id`, + ADD `school_specialization` TINYTEXT NULL DEFAULT NULL AFTER `school_years`, + ADD `university_years` TINYTEXT NULL DEFAULT NULL AFTER `school_specialization`, + ADD `university_specialization` TINYTEXT NULL DEFAULT NULL AFTER `university_years`, + ADD `university` BIGINT UNSIGNED NULL DEFAULT NULL AFTER `university_specialization`, + ADD `university_faculty` BIGINT UNSIGNED NULL DEFAULT NULL AFTER `university`;