new DB strucutre to change setting table to column name

This commit is contained in:
Sebastian Grewe 2013-05-29 11:00:48 +02:00
parent 2376c82c79
commit 6b5245b489

View File

@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net -- http://www.phpmyadmin.net
-- --
-- Host: localhost -- Host: localhost
-- Generation Time: May 27, 2013 at 02:39 PM -- Generation Time: May 29, 2013 at 11:00 AM
-- Server version: 5.5.31-0ubuntu0.13.04.1 -- Server version: 5.5.31-0ubuntu0.13.04.1
-- PHP Version: 5.4.9-4ubuntu2 -- PHP Version: 5.4.9-4ubuntu2
@ -73,9 +73,10 @@ CREATE TABLE IF NOT EXISTS `blocks` (
-- --
CREATE TABLE IF NOT EXISTS `settings` ( CREATE TABLE IF NOT EXISTS `settings` (
`setting` varchar(255) NOT NULL, `name` varchar(255) NOT NULL,
`value` varchar(255) DEFAULT NULL, `value` varchar(255) DEFAULT NULL,
PRIMARY KEY (`setting`) PRIMARY KEY (`name`),
UNIQUE KEY `setting` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------