-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1848 from ezsystems/ezp26482-dfs_schema
Fix EZP-26482: add ezdfsfile to MySQL schema.sql
- Loading branch information
Showing
2 changed files
with
26 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
-- | ||
-- Table structure for table `ezdfsfile` | ||
-- | ||
|
||
DROP TABLE IF EXISTS `ezdfsfile`; | ||
/*!40101 SET @saved_cs_client = @@character_set_client */; | ||
/*!40101 SET character_set_client = utf8 */; | ||
CREATE TABLE ezdfsfile ( | ||
`name` text NOT NULL, | ||
`name_trunk` text NOT NULL, | ||
`name_hash` varchar(34) NOT NULL DEFAULT '', | ||
`datatype` varchar(255) NOT NULL DEFAULT 'application/octet-stream', | ||
`scope` varchar(25) NOT NULL DEFAULT '', | ||
`size` bigint(20) unsigned NOT NULL DEFAULT '0', | ||
`mtime` int(11) NOT NULL DEFAULT '0', | ||
`expired` tinyint(1) NOT NULL DEFAULT '0', | ||
`status` tinyint(1) NOT NULL DEFAULT '0', | ||
PRIMARY KEY (`name_hash`), | ||
KEY `ezdfsfile_name` (`name`(250)), | ||
KEY `ezdfsfile_name_trunk` (`name_trunk`(250)), | ||
KEY `ezdfsfile_mtime` (`mtime`), | ||
KEY `ezdfsfile_expired_name` (`expired`,`name`(250)) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
/*!40101 SET character_set_client = @saved_cs_client */; |
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