PageRenderTime 23ms CodeModel.GetById 14ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/setup/MySQL/MySQLUpgradeFrom1.6To2.0.sql

#
SQL | 17 lines | 13 code | 4 blank | 0 comment | 0 complexity | 2ef0344ee7867ebd7c5eb97d27d6dc39 MD5 | raw file
 1
 2ALTER TABLE `be_PostComment` ADD `IsSpam` tinyint(1) NOT NULL DEFAULT '0';
 3ALTER TABLE `be_PostComment` ADD `IsDeleted` tinyint(1) NOT NULL DEFAULT '0';
 4ALTER TABLE `be_Posts` ADD `IsDeleted` tinyint(1) NOT NULL DEFAULT '0';
 5ALTER TABLE `be_Pages` ADD `IsDeleted` tinyint(1) NOT NULL DEFAULT '0';
 6
 7CREATE TABLE IF NOT EXISTS `be_Rights` (
 8  `RightName` varchar(100) NOT NULL,
 9  PRIMARY KEY  (`RightName`)
10) ENGINE=InnoDB DEFAULT CHARSET=latin1;
11
12CREATE TABLE IF NOT EXISTS `be_RightRoles` (
13  `RightName` varchar(100) NOT NULL,
14  `Role` varchar(100) NOT NULL,
15  PRIMARY KEY (`RightName`, `Role`)
16) ENGINE=InnoDB DEFAULT CHARSET=latin1;
17