[svn r16233] i forgot to add session_id field when creating a course

skala
Eric Marguin 16 years ago
parent 1ba7672176
commit 46f5d3e8d3
  1. 4
      main/inc/lib/add_course.lib.inc.php

@ -409,9 +409,13 @@ function update_Db_course($courseDbName)
end_date date default NULL,
display_order mediumint NOT NULL default 0,
email_sent tinyint default 0,
session_id smallint default 0,
PRIMARY KEY (id)
) TYPE=MyISAM";
api_sql_query($sql, __FILE__, __LINE__);
$sql = "ALTER TABLE `".$TABLETOOLANNOUNCEMENTS . "` ADD INDEX ( session_id ) ";
api_sql_query($sql, __FILE__, __LINE__);
/*
-----------------------------------------------------------

Loading…
Cancel
Save