mirror of
https://github.com/xevidos/codiad.git
synced 2024-11-10 21:26:35 +01:00
Suggestion to use UTF8(universal charset) rather than latin1(latin alphabet)
This commit is contained in:
parent
7882a94e41
commit
b71b4ce2fc
@ -7,7 +7,7 @@ CREATE TABLE IF NOT EXISTS `active` (
|
|||||||
`path` text NOT NULL,
|
`path` text NOT NULL,
|
||||||
`position` varchar(255) DEFAULT NULL,
|
`position` varchar(255) DEFAULT NULL,
|
||||||
`focused` varchar(255) NOT NULL
|
`focused` varchar(255) NOT NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Table structure for table `access`
|
-- Table structure for table `access`
|
||||||
@ -17,7 +17,7 @@ CREATE TABLE IF NOT EXISTS `access` (
|
|||||||
`user` int NOT NULL,
|
`user` int NOT NULL,
|
||||||
`project` int NOT NULL,
|
`project` int NOT NULL,
|
||||||
`level` int NOT NULL
|
`level` int NOT NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ CREATE TABLE IF NOT EXISTS `options` (
|
|||||||
`id` int PRIMARY KEY AUTO_INCREMENT NOT NULL,
|
`id` int PRIMARY KEY AUTO_INCREMENT NOT NULL,
|
||||||
`name` varchar(255) UNIQUE NOT NULL,
|
`name` varchar(255) UNIQUE NOT NULL,
|
||||||
`value` text NOT NULL
|
`value` text NOT NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ CREATE TABLE IF NOT EXISTS `projects` (
|
|||||||
`name` varchar(255) NOT NULL,
|
`name` varchar(255) NOT NULL,
|
||||||
`path` text NOT NULL,
|
`path` text NOT NULL,
|
||||||
`owner` int NOT NULL,
|
`owner` int NOT NULL,
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
@ -62,7 +62,7 @@ CREATE TABLE IF NOT EXISTS `users` (
|
|||||||
`access` int NOT NULL,
|
`access` int NOT NULL,
|
||||||
`token` varchar(255) DEFAULT NULL,
|
`token` varchar(255) DEFAULT NULL,
|
||||||
UNIQUE KEY `username` ( `username` )
|
UNIQUE KEY `username` ( `username` )
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
@ -76,4 +76,4 @@ CREATE TABLE IF NOT EXISTS `user_options` (
|
|||||||
`user` int NOT NULL,
|
`user` int NOT NULL,
|
||||||
`value` text NOT NULL,
|
`value` text NOT NULL,
|
||||||
UNIQUE KEY `name_user` (`name`,`user`)
|
UNIQUE KEY `name_user` (`name`,`user`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
Loading…
Reference in New Issue
Block a user