import mtweb.0.4.1
[mtweb] / web / content / data / mysql / mtweb.sql
1 -- phpMyAdmin SQL Dump
2 -- version 3.3.2deb1
3 -- http://www.phpmyadmin.net
4 --
5 -- Serveur: localhost
6 -- Généré le : Dim 25 Décembre 2011 à 15:01
7 -- Version du serveur: 5.1.41
8 -- Version de PHP: 5.3.2-1ubuntu4.11
9
10 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
11
12 --
13 -- Base de données: `mtweb`
14 --
15
16 -- --------------------------------------------------------
17
18 --
19 -- Structure de la table `mw_action_status`
20 --
21
22 CREATE TABLE IF NOT EXISTS `mw_action_status` (
23   `id` int(11) NOT NULL AUTO_INCREMENT,
24   `action` varchar(255) NOT NULL,
25   `id_status` int(11) NOT NULL,
26   PRIMARY KEY (`id`)
27 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
28
29 --
30 -- Contenu de la table `mw_action_status`
31 --
32
33 INSERT INTO `mw_action_status` (`id`, `action`, `id_status`) VALUES
34 (1, 'admin', 1),
35 (2, 'users', 1),
36 (3, 'users', 2),
37 (4, 'users/identification', 0);
38
39 -- --------------------------------------------------------
40
41 --
42 -- Structure de la table `mw_config`
43 --
44
45 CREATE TABLE IF NOT EXISTS `mw_config` (
46   `id` int(11) NOT NULL AUTO_INCREMENT,
47   `key` varchar(255) NOT NULL,
48   `value` text NOT NULL,
49   PRIMARY KEY (`id`)
50 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=20 ;
51
52 --
53 -- Contenu de la table `mw_config`
54 --
55
56 INSERT INTO `mw_config` (`id`, `key`, `value`) VALUES
57 (1, 'site_name', 'mtweb'),
58 (2, 'max_list', '10'),
59 (3, 'description', ''),
60 (4, 'out', 'dist'),
61 (5, 'start_action', ''),
62 (6, 'contact_form', '0'),
63 (8, 'email', ''),
64 (9, 'captcha', '0'),
65 (16, 'start_action_params', '');
66
67 -- --------------------------------------------------------
68
69 --
70 -- Structure de la table `mw_users`
71 --
72
73 CREATE TABLE IF NOT EXISTS `mw_users` (
74   `id` int(11) NOT NULL AUTO_INCREMENT,
75   `login` varchar(255) NOT NULL,
76   `password` varchar(255) NOT NULL,
77   `email` varchar(255) NOT NULL,
78   `status` int(11) NOT NULL,
79   PRIMARY KEY (`id`)
80 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;
81
82 --
83 -- Contenu de la table `mw_users`
84 --
85
86 INSERT INTO `mw_users` (`id`, `login`, `password`, `email`, `status`) VALUES
87 (1, 'admin', '25e4ee4e9229397b6b17776bfceaf8e7', 'admin@domain.tld', 1);
88
89 -- --------------------------------------------------------
90
91 --
92 -- Structure de la table `mw_user_status`
93 --
94
95 CREATE TABLE IF NOT EXISTS `mw_user_status` (
96   `id` int(11) NOT NULL AUTO_INCREMENT,
97   `nom` varchar(255) NOT NULL,
98   `creation_default` tinyint(4) NOT NULL,
99   PRIMARY KEY (`id`)
100 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
101
102 --
103 -- Contenu de la table `mw_user_status`
104 --
105
106 INSERT INTO `mw_user_status` (`id`, `nom`, `creation_default`) VALUES
107 (1, 'admin', 0),
108 (2, 'membre', 1);