CREATE DATABASE IF NOT EXISTS fd_session;

CREATE TABLE IF NOT EXISTS `fd_session`.`sessions` (
  `sess_id` varchar(128) COLLATE utf8_bin NOT NULL,
  `sess_data` longtext COLLATE utf8_bin NOT NULL,
  `sess_time` int(10) unsigned NOT NULL,
  `sess_lifetime` mediumint(9) NOT NULL,
  PRIMARY KEY (`sess_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

INSERT INTO `fd3_base`.`tenancy`
(`id`, `name`, `enabled`) VALUES
(1,    'Base', 1),
(2,    'Inicial', 1);