Source

zf-form-builder / schema.sql

Full commit
-- phpMyAdmin SQL Dump
-- version 3.2.3
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Mar 11, 2010 at 09:19 AM
-- Server version: 5.1.40
-- PHP Version: 5.2.12

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--
-- Database: `fb`
--

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

--
-- Table structure for table `collector__registration`
--

CREATE TABLE IF NOT EXISTS `collector__registration` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `invite` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `secret` char(32) COLLATE utf8_unicode_ci NOT NULL,
  `is_confirmed` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  `color` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `sex` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `receive_news` tinyint(4) DEFAULT NULL,
  `confirm_age` tinyint(4) DEFAULT NULL,
  `confirm_license` tinyint(4) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `secret` (`secret`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;

--
-- Dumping data for table `collector__registration`
--


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

--
-- Table structure for table `identity__user`
--

CREATE TABLE IF NOT EXISTS `identity__user` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `login` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `password` char(32) COLLATE utf8_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `secret` char(32) COLLATE utf8_unicode_ci NOT NULL,
  `role_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'guest',
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;

--
-- Dumping data for table `identity__user`
--

INSERT INTO `identity__user` (`id`, `name`, `login`, `password`, `email`, `secret`, `role_id`, `created_at`, `updated_at`) VALUES
(1, '', 'admin', '4f04a7f7ad0913bb01b5fba8fb112d97', '', '0144bb4202b34a98af97027dfbfed86c', 'admin', '2010-03-11 10:10:59', '2010-03-11 10:10:59');