   PRIMARY KEY (`id`)
 ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
 
+DROP TABLE IF EXISTS `migrations`;
 
-DROP TABLE IF EXISTS `newsletter`;
+CREATE TABLE `migrations` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `file` varchar(100) DEFAULT NULL,
+  `date` int(11) NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
 
-CREATE TABLE `newsletter` (
+DROP TABLE IF EXISTS `newsletters`;
+
+CREATE TABLE `newsletters` (
   `email` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
   UNIQUE KEY `email` (`email`)
 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
 
 
-DROP TABLE IF EXISTS `user`;
+DROP TABLE IF EXISTS `users`;
 
-CREATE TABLE `user` (
+CREATE TABLE `users` (
   `id` int(9) NOT NULL AUTO_INCREMENT,
   `name` varchar(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
   `surname` varchar(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,

) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf-8;


DROP TABLE IF EXISTS `gallery_album`;

CREATE TABLE `gallery_album` (
  `id` smallint(5) NOT NULL AUTO_INCREMENT,
  `author_id` smallint(5) NOT NULL,
  `title` varchar(50) COLLATE utf8_unicode_ci NOT NULL,

) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf-8;


DROP TABLE IF EXISTS `contents`;

CREATE TABLE `contents` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `author_id` smallint(5) NOT NULL DEFAULT '1',
  `title` varchar(128) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
