-- MySQL dump 10.13  Distrib 5.5.19, for Linux (x86_64)
--
-- Host: localhost    Database: cafe
-- ------------------------------------------------------
-- Server version	5.5.19

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `bfcms_event`
--

/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE IF NOT EXISTS `bfcms_event` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `acl_resource` varchar(32) DEFAULT NULL,
  `parent_event_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(64) NOT NULL,
  `teaser` varchar(255) DEFAULT NULL,
  `description` mediumtext,
  `detail_image_location` varchar(255) DEFAULT NULL,
  `location_details` int(10) unsigned DEFAULT NULL,
  `starts_on` datetime NOT NULL,
  `ends_on` datetime NOT NULL,
  `all_day_event` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `recurrence_days` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The number of days between recurrences of this event',
  `admission_deadline` datetime DEFAULT NULL,
  `admission_details` int(10) unsigned DEFAULT NULL,
  `admission_cost` decimal(12,2) NOT NULL DEFAULT '0.00',
  `admission_cost_late` decimal(12,2) DEFAULT NULL,
  `admission_spots_available` int(6) NOT NULL DEFAULT '0',
  `admission_spots_taken` int(6) NOT NULL DEFAULT '0',
  `created_on` datetime DEFAULT NULL,
  `created_by` varchar(128) NOT NULL DEFAULT 'system',
  `modified_on` timestamp NULL DEFAULT NULL,
  `modified_by` varchar(128) NOT NULL DEFAULT 'system',
  `params` mediumtext,
  `template` varchar(32) NOT NULL DEFAULT 'default',
  `style` varchar(32) NOT NULL DEFAULT 'empty',
  `enabled` tinyint(1) NOT NULL DEFAULT '0',
  `optional1` varchar(255) DEFAULT NULL COMMENT 'Optional value for expansion',
  `optional2` varchar(255) DEFAULT NULL COMMENT 'Optional value for expansion',
  `optional3` varchar(255) DEFAULT NULL COMMENT 'Optional value for expansion',
  `optional4` varchar(255) DEFAULT NULL COMMENT 'Optional value for expansion',
  `date1` datetime DEFAULT NULL COMMENT 'Optional date for expansion',
  `date2` datetime DEFAULT NULL COMMENT 'Optional date for expansion',
  `number1` decimal(12,2) DEFAULT NULL COMMENT 'Optional value for expansion',
  `number2` decimal(12,2) DEFAULT NULL COMMENT 'Optional value for expansion',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=924 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2012-03-16 14:01:43
