Skip to content

Commit

Permalink
Set mysql to unicode and add user
Browse files Browse the repository at this point in the history
  • Loading branch information
gbeauvoir committed Feb 3, 2014
1 parent 7b0cd99 commit b5a9a90
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions app/var/db/db-mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -359,14 +359,15 @@ CREATE TABLE IF NOT EXISTS `core_chat` (

CREATE TABLE IF NOT EXISTS `core_mailer` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`subject` varchar(255) NOT NULL,
`template` varchar(255) NOT NULL,
`address_from` varchar(150) NOT NULL,
`address_to` text NOT NULL,
`html` text NOT NULL,
`user_id` int(11) DEFAULT NULL,
`subject` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`template` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`address_from` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
`address_to` text COLLATE utf8_unicode_ci NOT NULL,
`html` text COLLATE utf8_unicode_ci NOT NULL,
`create_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

Expand Down

0 comments on commit b5a9a90

Please sign in to comment.