mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
changed some int(11) to int(10)
This commit is contained in:
parent
16ae46f6c5
commit
dffaf68202
2 changed files with 53 additions and 32 deletions
|
@ -846,19 +846,19 @@ CREATE TABLE prefix_stats_user_monthly (
|
|||
# Table structure for table `prefix_post`
|
||||
#
|
||||
CREATE TABLE prefix_post (
|
||||
`id` int(11) NOT NULL auto_increment,
|
||||
`id` int(10) NOT NULL auto_increment,
|
||||
`module` varchar(20) NOT NULL default '',
|
||||
`userid` int(11) NOT NULL default '0',
|
||||
`courseid` int(11) NOT NULL default '0',
|
||||
`groupid` int(11) NOT NULL default '0',
|
||||
`moduleid` int(11) NOT NULL default '0',
|
||||
`coursemoduleid` int(11) NOT NULL default '0',
|
||||
`userid` int(10) NOT NULL default '0',
|
||||
`courseid` int(10) NOT NULL default '0',
|
||||
`groupid` int(10) NOT NULL default '0',
|
||||
`moduleid` int(10) NOT NULL default '0',
|
||||
`coursemoduleid` int(10) NOT NULL default '0',
|
||||
`subject` varchar(128) NOT NULL default '',
|
||||
`summary` longtext,
|
||||
`content` longtext,
|
||||
`uniquehash` varchar(128) NOT NULL default '',
|
||||
`rating` int(11) NOT NULL default '0',
|
||||
`format` int(11) NOT NULL default '0',
|
||||
`rating` int(10) NOT NULL default '0',
|
||||
`format` int(10) NOT NULL default '0',
|
||||
`publishstate` enum('draft','site','public') NOT NULL default 'draft',
|
||||
`lastmodified` int(10) NOT NULL default '0',
|
||||
`created` int(10) NOT NULL default '0',
|
||||
|
@ -872,21 +872,21 @@ CREATE TABLE prefix_post (
|
|||
|
||||
# tags are not limited to blogs
|
||||
CREATE TABLE prefix_tags (
|
||||
`id` int(11) NOT NULL auto_increment,
|
||||
`id` int(10) NOT NULL auto_increment,
|
||||
`type` varchar(255) NOT NULL default 'official',
|
||||
`userid` int(11) NOT NULL default '0',
|
||||
`userid` int(10) NOT NULL default '0',
|
||||
`text` varchar(255) NOT NULL default '',
|
||||
PRIMARY KEY (`id`)
|
||||
) TYPE=MyISAM COMMENT ='tags structure for moodle.';
|
||||
|
||||
# instance of a tag for a blog
|
||||
CREATE TABLE prefix_blog_tag_instance (
|
||||
`id` int(11) NOT NULL auto_increment,
|
||||
`entryid` int(11) NOT NULL default '0',
|
||||
`tagid` int(11) NOT NULL default '0',
|
||||
`groupid` int(11) NOT NULL default '0',
|
||||
`courseid` int(11) NOT NULL default '0',
|
||||
`userid` int(11) NOT NULL default '0',
|
||||
`id` int(10) NOT NULL auto_increment,
|
||||
`entryid` int(10) NOT NULL default '0',
|
||||
`tagid` int(10) NOT NULL default '0',
|
||||
`groupid` int(10) NOT NULL default '0',
|
||||
`courseid` int(10) NOT NULL default '0',
|
||||
`userid` int(10) NOT NULL default '0',
|
||||
`timemodified` int(10) unsigned NOT NULL default '0',
|
||||
KEY `bti_entryid_idx` (`entryid`),
|
||||
KEY `bti_tagid_idx` (`tagid`),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue