Project

General

Profile

1
-- phpMyAdmin SQL Dump
2
-- version 4.5.3.1
3
-- http://www.phpmyadmin.net
4
--
5
-- Host: localhost
6
-- Erstellungszeit: 01. Feb 2016 um 19:54
7
-- Server-Version: 5.6.24
8
-- PHP-Version: 7.0.1
9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
10
SET time_zone = "+00:00";
11
-- --------------------------------------------------------
12
--
13
-- Tabellenstruktur für Tabelle `mod_droplets`
14
-- Replacements: {TABLE_PREFIX}, {TABLE_ENGINE}, {FIELD_COLLATION}
15
--
16
DROP TABLE IF EXISTS `{TABLE_PREFIX}mod_droplets`;
17
CREATE TABLE IF NOT EXISTS `{TABLE_PREFIX}mod_droplets` (
18
  `id` int(11) NOT NULL AUTO_INCREMENT,
19
  `name` varchar(32){FIELD_COLLATION} NOT NULL DEFAULT '',
20
  `code` longtext{FIELD_COLLATION} NOT NULL,
21
  `description` text{FIELD_COLLATION} NOT NULL,
22
  `modified_when` int(11) NOT NULL DEFAULT '0',
23
  `modified_by` int(11) NOT NULL DEFAULT '0',
24
  `active` int(11) NOT NULL DEFAULT '0',
25
  `comments` text{FIELD_COLLATION} NOT NULL,
26
  PRIMARY KEY (`id`)
27
){TABLE_ENGINE=MyISAM};
28

    
29
ALTER TABLE `{TABLE_PREFIX}mod_droplets` ADD `admin_edit` INT(11) NOT NULL DEFAULT '0' AFTER `active`;
30
ALTER TABLE `{TABLE_PREFIX}mod_droplets` ADD `admin_view` INT(11) NOT NULL DEFAULT '0' AFTER `admin_edit`;
31
ALTER TABLE `{TABLE_PREFIX}mod_droplets` ADD `show_wysiwyg` INT(11) NOT NULL DEFAULT '0' AFTER `admin_view`;
32
ALTER TABLE `{TABLE_PREFIX}mod_droplets` ADD UNIQUE `droplet_name` ( `name` );
(10-10/15)