-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Included support for double unsigned column type.
- Loading branch information
Carlos Cima
committed
Apr 29, 2016
1 parent
5ec8a7c
commit 98aa4ed
Showing
3 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
CREATE TABLE `jos_finder_links` ( | ||
`link_id` int(10) unsigned NOT NULL AUTO_INCREMENT, | ||
`url` varchar(255) NOT NULL, | ||
`route` varchar(255) NOT NULL, | ||
`title` varchar(400) DEFAULT NULL, | ||
`description` varchar(255) DEFAULT NULL, | ||
`indexdate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', | ||
`md5sum` varchar(32) DEFAULT NULL, | ||
`published` tinyint(1) NOT NULL DEFAULT '1', | ||
`state` int(5) DEFAULT '1', | ||
`access` int(5) DEFAULT '0', | ||
`language` varchar(8) NOT NULL, | ||
`publish_start_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', | ||
`publish_end_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', | ||
`start_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', | ||
`end_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', | ||
`list_price` double unsigned NOT NULL DEFAULT '0', | ||
`sale_price` double unsigned NOT NULL DEFAULT '0', | ||
`type_id` int(11) NOT NULL, | ||
`object` mediumblob NOT NULL, | ||
PRIMARY KEY (`link_id`), | ||
KEY `idx_type` (`type_id`), | ||
KEY `idx_md5` (`md5sum`), | ||
KEY `idx_url` (`url`(75)), | ||
KEY `idx_published_list` (`published`,`state`,`access`,`publish_start_date`,`publish_end_date`,`list_price`), | ||
KEY `idx_published_sale` (`published`,`state`,`access`,`publish_start_date`,`publish_end_date`,`sale_price`), | ||
KEY `idx_title` (`title`(100)) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; |