~ubuntu-fr-forum-admins/ubuntu-fr-website/forum.prod

« back to all changes in this revision

Viewing changes to BDD_update2.sql

  • Committer: xabilon
  • Date: 2010-10-08 13:18:35 UTC
  • Revision ID: xabilonmodo@yahoo.fr-20101008131835-i22ldl3u83y1t0di
Copie de forum.dev r155 pour mise en ligne

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
USE ubuntu_fr;
 
2
 
 
3
-- phpMyAdmin SQL Dump
 
4
-- version 3.3.2deb1
 
5
-- http://www.phpmyadmin.net
 
6
--
 
7
-- Serveur: localhost
 
8
-- Généré le : Ven 08 Octobre 2010 à 15:00
 
9
-- Version du serveur: 5.1.41
 
10
-- Version de PHP: 5.3.2-1ubuntu4.5ppa5~lucid1
 
11
 
 
12
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
 
13
 
 
14
 
 
15
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
 
16
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
 
17
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
 
18
/*!40101 SET NAMES utf8 */;
 
19
 
 
20
--
 
21
-- Base de données: `ubuntu_devforum`
 
22
--
 
23
 
 
24
-- --------------------------------------------------------
 
25
 
 
26
--
 
27
-- Structure de la table `forum_toolbar_conf`
 
28
--
 
29
 
 
30
CREATE TABLE IF NOT EXISTS `forum_toolbar_conf` (
 
31
  `conf_name` varchar(40) NOT NULL DEFAULT '',
 
32
  `conf_value` varchar(40) NOT NULL DEFAULT '',
 
33
  PRIMARY KEY (`conf_name`)
 
34
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
 
35
 
 
36
--
 
37
-- Contenu de la table `forum_toolbar_conf`
 
38
--
 
39
 
 
40
INSERT INTO `forum_toolbar_conf` (`conf_name`, `conf_value`) VALUES
 
41
('enable_form', '1'),
 
42
('enable_quickform', '1'),
 
43
('img_pack', 'smooth'),
 
44
('nb_smilies', '12'),
 
45
('pop_up_width', '240'),
 
46
('pop_up_height', '200'),
 
47
('button_size', '4096'),
 
48
('button_width', '32'),
 
49
('button_height', '32');
 
50
 
 
51
-- --------------------------------------------------------
 
52
 
 
53
--
 
54
-- Structure de la table `forum_toolbar_tags`
 
55
--
 
56
 
 
57
CREATE TABLE IF NOT EXISTS `forum_toolbar_tags` (
 
58
  `name` varchar(20) NOT NULL DEFAULT '',
 
59
  `code` varchar(20) NOT NULL DEFAULT '',
 
60
  `enable_form` tinyint(1) NOT NULL DEFAULT '0',
 
61
  `enable_quick` tinyint(1) NOT NULL DEFAULT '0',
 
62
  `image` varchar(40) NOT NULL DEFAULT '',
 
63
  `func` tinyint(1) NOT NULL DEFAULT '0',
 
64
  `position` tinyint(2) unsigned NOT NULL DEFAULT '1',
 
65
  PRIMARY KEY (`name`)
 
66
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
 
67
 
 
68
--
 
69
-- Contenu de la table `forum_toolbar_tags`
 
70
--
 
71
 
 
72
INSERT INTO `forum_toolbar_tags` (`name`, `code`, `enable_form`, `enable_quick`, `image`, `func`, `position`) VALUES
 
73
('smilies', '', 1, 1, 'bt_smilies.png', 0, 0),
 
74
('bold', 'b', 1, 1, 'bt_bold.png', 0, 1),
 
75
('italic', 'i', 1, 1, 'bt_italic.png', 0, 2),
 
76
('underline', 'u', 1, 1, 'bt_underline.png', 0, 3),
 
77
('strike', 's', 1, 0, 'bt_strike.png', 0, 4),
 
78
('sup', 'sup', 1, 0, 'bt_sup.png', 0, 5),
 
79
('sub', 'sub', 1, 0, 'bt_sub.png', 0, 6),
 
80
('heading', 'h', 0, 0, 'bt_size_plus.png', 0, 7),
 
81
('left', 'left', 1, 0, 'bt_align_left.png', 0, 8),
 
82
('right', 'right', 1, 0, 'bt_align_right.png', 0, 9),
 
83
('center', 'center', 1, 0, 'bt_align_center.png', 0, 10),
 
84
('justify', 'justify', 1, 0, 'bt_align_justify.png', 0, 11),
 
85
('color', 'color', 0, 0, 'bt_color.png', 0, 12),
 
86
('q', 'q', 1, 0, 'bt_quote.png', 0, 13),
 
87
('acronym', 'acronym', 1, 0, 'bt_acronym.png', 1, 14),
 
88
('img', 'img', 1, 1, 'bt_img.png', 2, 15),
 
89
('code', 'code', 1, 1, 'bt_pre.png', 0, 16),
 
90
('quote', 'quote', 1, 1, 'bt_bquote.png', 1, 17),
 
91
('link', 'url', 1, 1, 'bt_link.png', 2, 18),
 
92
('email', 'email', 0, 0, 'bt_email.png', 2, 19),
 
93
('video', 'video', 1, 1, 'bt_video.png', 3, 20),
 
94
('li', '*', 1, 0, 'bt_li.png', 0, 21),
 
95
('list', 'list', 1, 0, 'bt_ul.png', 1, 22);