Feature #539 - A new fiels 'exemplary_content' has been added to the course requests table.

skala
Ivan Tcholakov 15 years ago
parent 4e3f733fde
commit 3896e65cb3
  1. 1
      main/install/db_main.sql
  2. 2
      main/install/migrate-db-1.8.7-1.8.8-pre.sql

@ -2449,6 +2449,7 @@ CREATE TABLE course_request (
target_audience text,
status int unsigned NOT NULL default '0',
info int unsigned NOT NULL default '0',
exemplary_content int unsigned NOT NULL default '0',
PRIMARY KEY (id),
UNIQUE KEY code (code)
);

@ -13,7 +13,7 @@
-- This first part is for the main database
-- xxMAINxx
CREATE TABLE course_request (id int NOT NULL AUTO_INCREMENT, code varchar(40) NOT NULL, user_id int unsigned NOT NULL default '0', directory varchar(40) DEFAULT NULL, db_name varchar(40) DEFAULT NULL, course_language varchar(20) DEFAULT NULL, title varchar(250) DEFAULT NULL, description text, category_code varchar(40) DEFAULT NULL, tutor_name varchar(200) DEFAULT NULL, visual_code varchar(40) DEFAULT NULL, request_date datetime NOT NULL DEFAULT '0000-00-00 00:00:00', objetives text, target_audience text, status int unsigned NOT NULL default '0', info int unsigned NOT NULL default '0', PRIMARY KEY (id), UNIQUE KEY code (code));
CREATE TABLE course_request (id int NOT NULL AUTO_INCREMENT, code varchar(40) NOT NULL, user_id int unsigned NOT NULL default '0', directory varchar(40) DEFAULT NULL, db_name varchar(40) DEFAULT NULL, course_language varchar(20) DEFAULT NULL, title varchar(250) DEFAULT NULL, description text, category_code varchar(40) DEFAULT NULL, tutor_name varchar(200) DEFAULT NULL, visual_code varchar(40) DEFAULT NULL, request_date datetime NOT NULL DEFAULT '0000-00-00 00:00:00', objetives text, target_audience text, status int unsigned NOT NULL default '0', info int unsigned NOT NULL default '0', exemplary_content int unsigned NOT NULL default '0', PRIMARY KEY (id), UNIQUE KEY code (code));
ALTER TABLE settings_current DROP INDEX unique_setting;
ALTER TABLE settings_options DROP INDEX unique_setting_option;

Loading…
Cancel
Save