Skip to content
Snippets Groups Projects
Commit b423a192 authored by Demian Katz's avatar Demian Katz
Browse files

Merge branch 'release-2.5' into release-3.0

Conflicts:
	module/VuFind/sql/mysql.sql
parents ddad4b78 f639bdd0
No related merge requests found
...@@ -38,7 +38,7 @@ CREATE TABLE `comments` ( ...@@ -38,7 +38,7 @@ CREATE TABLE `comments` (
`user_id` int(11) NOT NULL DEFAULT '0', `user_id` int(11) NOT NULL DEFAULT '0',
`resource_id` int(11) NOT NULL DEFAULT '0', `resource_id` int(11) NOT NULL DEFAULT '0',
`comment` text NOT NULL, `comment` text NOT NULL,
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
KEY `user_id` (`user_id`), KEY `user_id` (`user_id`),
KEY `resource_id` (`resource_id`), KEY `resource_id` (`resource_id`),
...@@ -56,7 +56,7 @@ CREATE TABLE `comments` ( ...@@ -56,7 +56,7 @@ CREATE TABLE `comments` (
CREATE TABLE `oai_resumption` ( CREATE TABLE `oai_resumption` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`params` text, `params` text,
`expires` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `expires` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */; /*!40101 SET character_set_client = @saved_cs_client */;
...@@ -115,7 +115,7 @@ CREATE TABLE `search` ( ...@@ -115,7 +115,7 @@ CREATE TABLE `search` (
`user_id` int(11) NOT NULL DEFAULT '0', `user_id` int(11) NOT NULL DEFAULT '0',
`session_id` varchar(128) DEFAULT NULL, `session_id` varchar(128) DEFAULT NULL,
`folder_id` int(11) DEFAULT NULL, `folder_id` int(11) DEFAULT NULL,
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
`title` varchar(20) DEFAULT NULL, `title` varchar(20) DEFAULT NULL,
`saved` int(1) NOT NULL DEFAULT '0', `saved` int(1) NOT NULL DEFAULT '0',
`search_object` blob, `search_object` blob,
...@@ -138,7 +138,7 @@ CREATE TABLE `session` ( ...@@ -138,7 +138,7 @@ CREATE TABLE `session` (
`session_id` varchar(128) DEFAULT NULL, `session_id` varchar(128) DEFAULT NULL,
`data` text, `data` text,
`last_used` int(12) NOT NULL DEFAULT '0', `last_used` int(12) NOT NULL DEFAULT '0',
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
UNIQUE KEY `session_id` (`session_id`), UNIQUE KEY `session_id` (`session_id`),
KEY `last_used` (`last_used`) KEY `last_used` (`last_used`)
...@@ -178,7 +178,7 @@ CREATE TABLE `user` ( ...@@ -178,7 +178,7 @@ CREATE TABLE `user` (
`college` varchar(100) NOT NULL DEFAULT '', `college` varchar(100) NOT NULL DEFAULT '',
`major` varchar(100) NOT NULL DEFAULT '', `major` varchar(100) NOT NULL DEFAULT '',
`home_library` varchar(100) NOT NULL DEFAULT '', `home_library` varchar(100) NOT NULL DEFAULT '',
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
`verify_hash` varchar(42) NOT NULL DEFAULT '', `verify_hash` varchar(42) NOT NULL DEFAULT '',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`) UNIQUE KEY `username` (`username`)
...@@ -196,7 +196,7 @@ CREATE TABLE `user_list` ( ...@@ -196,7 +196,7 @@ CREATE TABLE `user_list` (
`user_id` int(11) NOT NULL, `user_id` int(11) NOT NULL,
`title` varchar(200) NOT NULL, `title` varchar(200) NOT NULL,
`description` text, `description` text,
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
`public` int(11) NOT NULL DEFAULT '0', `public` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
KEY `user_id` (`user_id`), KEY `user_id` (`user_id`),
...@@ -274,7 +274,7 @@ CREATE TABLE `user_card` ( ...@@ -274,7 +274,7 @@ CREATE TABLE `user_card` (
`cat_password` varchar(50) DEFAULT NULL, `cat_password` varchar(50) DEFAULT NULL,
`cat_pass_enc` varchar(110) DEFAULT NULL, `cat_pass_enc` varchar(110) DEFAULT NULL,
`home_library` varchar(100) NOT NULL DEFAULT '', `home_library` varchar(100) NOT NULL DEFAULT '',
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
`saved` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `saved` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
KEY `user_id` (`user_id`), KEY `user_id` (`user_id`),
...@@ -305,7 +305,7 @@ CREATE TABLE `record` ( ...@@ -305,7 +305,7 @@ CREATE TABLE `record` (
`source` varchar(50) DEFAULT NULL, `source` varchar(50) DEFAULT NULL,
`version` varchar(20) NOT NULL, `version` varchar(20) NOT NULL,
`data` longtext DEFAULT NULL, `data` longtext DEFAULT NULL,
`updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `updated` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
UNIQUE KEY `record_id_source` (`record_id`, `source`) UNIQUE KEY `record_id_source` (`record_id`, `source`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment