[svn r17538] Removed useless size of INT (as newly added to the coding conventions)

skala
Yannick Warnier 18 years ago
parent ddb63ef1c1
commit 29ea7308b5
  1. 2
      main/install/dokeos_main.sql
  2. 2
      main/install/migrate-db-1.8.5-1.8.6-pre.sql

@ -1049,7 +1049,7 @@ CREATE TABLE sys_calendar (
);
CREATE TABLE IF NOT EXISTS system_template (
id int(11) NOT NULL auto_increment,
id int UNSIGNED NOT NULL auto_increment,
title varchar(250) NOT NULL,
comment text NOT NULL,
image varchar(250) NOT NULL,

@ -49,7 +49,7 @@ UPDATE TABLE settings_options SET display_text = 'NoWillDeletePermanently' WHERE
INSERT INTO settings_options (variable, value, display_text) VALUES ('breadcrumbs_course_homepage','session_name_and_course_title','SessionNameAndCourseTitle');
INSERT INTO course_module (name, link, image, `row`, `column`, position) VALUES ('notebook','notebook/index.php','notebook.gif',2,1,'basic');
CREATE TABLE sys_calendar ( id int unsigned NOT NULL auto_increment, title varchar(200) NOT NULL, content text, start_date datetime NOT NULL default '0000-00-00 00:00:00', end_date datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (id));
CREATE TABLE IF NOT EXISTS system_template (id int(11) NOT NULL auto_increment, title varchar(250) NOT NULL, comment text NOT NULL, image varchar(250) NOT NULL, content text NOT NULL, PRIMARY KEY (id));
CREATE TABLE IF NOT EXISTS system_template (id int UNSIGNED NOT NULL auto_increment, title varchar(250) NOT NULL, comment text NOT NULL, image varchar(250) NOT NULL, content text NOT NULL, PRIMARY KEY (id));
-- xxSTATSxx
ALTER TABLE track_e_exercices ADD status varchar(20) NOT NULL default '';

Loading…
Cancel
Save