|
@@ -70,6 +70,11 @@ ALTER TABLE user_friend ADD INDEX idx_user_friend_user_friend_user(user_id,frien
|
|
CREATE TABLE user_friend_relation_type(id int unsigned not null auto_increment,title char(20),PRIMARY KEY(id));
|
|
CREATE TABLE user_friend_relation_type(id int unsigned not null auto_increment,title char(20),PRIMARY KEY(id));
|
|
CREATE TABLE user_api_key (id int unsigned NOT NULL auto_increment, user_id int unsigned NOT NULL, api_key char(32) NOT NULL, api_service char(10) NOT NULL default 'dokeos', PRIMARY KEY (id));
|
|
CREATE TABLE user_api_key (id int unsigned NOT NULL auto_increment, user_id int unsigned NOT NULL, api_key char(32) NOT NULL, api_service char(10) NOT NULL default 'dokeos', PRIMARY KEY (id));
|
|
ALTER TABLE user_api_key ADD INDEX idx_user_api_keys_user (user_id);
|
|
ALTER TABLE user_api_key ADD INDEX idx_user_api_keys_user (user_id);
|
|
|
|
+CREATE TABLE messages_invitation(id bigint unsigned not null auto_increment,user_sender_id int unsigned not null,user_receiver_id int unsigned not null,msg_status tinyint not null default 0,send_date int,title varchar(255) not null,content text not null,primary key(id));
|
|
|
|
+ALTER TABLE messages_invitation ADD INDEX idx_messages_invitation_user_sender(user_sender_id);
|
|
|
|
+ALTER TABLE messages_invitation ADD INDEX idx_messages_invitation_user_receiver(user_receiver_id);
|
|
|
|
+ALTER TABLE messages_invitation ADD INDEX idx_messages_invitation_user_sender_user_receiver(user_sender_id,user_receiver_id);
|
|
|
|
+ALTER TABLE messages_invitation ADD INDEX idx_messages_invitation_msg_status(msg_status);
|
|
|
|
|
|
UPDATE settings_current SET access_url_changeable = 1 WHERE variable='Institution';
|
|
UPDATE settings_current SET access_url_changeable = 1 WHERE variable='Institution';
|
|
UPDATE settings_current SET access_url_changeable = 1 WHERE variable='InstitutionUrl';
|
|
UPDATE settings_current SET access_url_changeable = 1 WHERE variable='InstitutionUrl';
|