Project

General

Profile

1
-- phpMyAdmin SQL Dump
2
-- Erstellungszeit: 16. Sep 2012 um 03:20
3
-- Server Version: 5.5.16
4
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
5
-- --------------------------------------------------------
6
-- Database structure for module 'form'
7
--
8
-- Replacements: {TABLE_PREFIX}, {TABLE_ENGINE}, {TABLE_COLLATION}
9
--
10
-- --------------------------------------------------------
11
--
12
-- Tabellenstruktur für Tabelle `mod_form_fields`
13
--
14
DROP TABLE IF EXISTS `{TABLE_PREFIX}mod_form_fields`;
15
CREATE TABLE IF NOT EXISTS `{TABLE_PREFIX}mod_form_fields` (
16
  `field_id` int(11) NOT NULL AUTO_INCREMENT,
17
  `section_id` int(11) NOT NULL DEFAULT '0',
18
  `page_id` int(11) NOT NULL DEFAULT '0',
19
  `position` int(11) NOT NULL DEFAULT '0',
20
  `title` varchar(255){TABLE_COLLATION} NOT NULL DEFAULT '',
21
  `type` varchar(255){TABLE_COLLATION} NOT NULL DEFAULT '',
22
  `required` int(11) NOT NULL DEFAULT '0',
23
  `value` text{TABLE_COLLATION} NOT NULL,
24
  `extra` text{TABLE_COLLATION} NOT NULL,
25
  PRIMARY KEY (`field_id`)
26
) {TABLE_ENGINE};
27
-- --------------------------------------------------------
28
--
29
-- Tabellenstruktur für Tabelle `mod_form_settings`
30
--
31
DROP TABLE IF EXISTS `{TABLE_PREFIX}mod_form_settings`;
32
CREATE TABLE IF NOT EXISTS `{TABLE_PREFIX}mod_form_settings` (
33
  `section_id` int(11) NOT NULL DEFAULT '0',
34
  `page_id` int(11) NOT NULL DEFAULT '0',
35
  `header` text{TABLE_COLLATION} NOT NULL,
36
  `field_loop` text NOT NULL,
37
  `footer` text{TABLE_COLLATION} NOT NULL,
38
  `email_to` text{TABLE_COLLATION} NOT NULL,
39
  `email_from` varchar(255){TABLE_COLLATION} NOT NULL DEFAULT '',
40
  `email_fromname` varchar(255){TABLE_COLLATION} NOT NULL DEFAULT '',
41
  `email_subject` varchar(255){TABLE_COLLATION} NOT NULL DEFAULT '',
42
  `success_page` text{TABLE_COLLATION} NOT NULL,
43
  `success_email_to` text{TABLE_COLLATION} NOT NULL,
44
  `success_email_from` varchar(255){TABLE_COLLATION} NOT NULL DEFAULT '',
45
  `success_email_fromname` varchar(255){TABLE_COLLATION} NOT NULL DEFAULT '',
46
  `success_email_text` text{TABLE_COLLATION} NOT NULL,
47
  `success_email_subject` varchar(255){TABLE_COLLATION} NOT NULL DEFAULT '',
48
  `stored_submissions` int(11) NOT NULL DEFAULT '0',
49
  `max_submissions` int(11) NOT NULL DEFAULT '0',
50
  `perpage_submissions` int(11) NOT NULL DEFAULT '10',
51
  `use_captcha` int(11) NOT NULL DEFAULT '0',
52
  PRIMARY KEY (`section_id`)
53
) {TABLE_ENGINE};
54
-- --------------------------------------------------------
55
--
56
-- Tabellenstruktur für Tabelle `mod_form_submissions`
57
--
58
DROP TABLE IF EXISTS `{TABLE_PREFIX}mod_form_submissions`;
59
CREATE TABLE IF NOT EXISTS `{TABLE_PREFIX}mod_form_submissions` (
60
  `submission_id` int(11) NOT NULL AUTO_INCREMENT,
61
  `section_id` int(11) NOT NULL DEFAULT '0',
62
  `page_id` int(11) NOT NULL DEFAULT '0',
63
  `submitted_when` int(11) NOT NULL DEFAULT '0',
64
  `submitted_by` int(11) NOT NULL DEFAULT '0',
65
  `body` text{TABLE_COLLATION} NOT NULL,
66
  PRIMARY KEY (`submission_id`)
67
) {TABLE_ENGINE};
68
-- EndOfFile
    (1-1/1)