-- phpMyAdmin SQL Dump
-- version 3.3.2deb1ubuntu1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Apr 24, 2018 at 08:04 PM
-- Server version: 5.1.63
-- PHP Version: 5.3.10-1~lucid+2uwsgi2

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `metro_console_status`
--

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

--
-- Table structure for table `groups`
--

CREATE TABLE IF NOT EXISTS `groups` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `submitter` int(11) NOT NULL,
  `date_submitted` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `login` tinyint(4) NOT NULL DEFAULT '0',
  `delete` tinyint(4) NOT NULL,
  `edit` tinyint(4) NOT NULL DEFAULT '1',
  `icon` tinyint(4) NOT NULL,
  `action_name` varchar(255) NOT NULL,
  `post` varchar(255) NOT NULL DEFAULT 'change_status',
  `hide` tinyint(4) NOT NULL,
  `ordering` tinyint(4) NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `groups`
--

INSERT INTO `groups` (`id`, `name`, `submitter`, `date_submitted`, `login`, `delete`, `edit`, `icon`, `action_name`, `post`, `hide`, `ordering`, `status`) VALUES
(1, 'Active', 1, '2012-01-03 11:42:37', 1, 0, 1, 5, 'Reactivate', 'change_status', 0, 1, 1),
(2, 'Suspended', 1, '2009-10-08 07:15:24', 0, 0, 1, 7, 'Suspend', 'change_status', 0, 2, 1),
(3, 'Deleted', 1, '2011-03-31 04:06:08', 0, 0, 1, 16, 'Delete', 'change_status', 0, 3, 1);

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

--
-- Table structure for table `groups_con`
--

CREATE TABLE IF NOT EXISTS `groups_con` (
  `id` int(11) unsigned NOT NULL,
  `con_id` int(11) unsigned NOT NULL,
  PRIMARY KEY (`id`,`con_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `groups_con`
--

INSERT INTO `groups_con` (`id`, `con_id`) VALUES
(1, 2),
(1, 3),
(2, 1),
(2, 3),
(3, 1);

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

--
-- Table structure for table `users`
--

CREATE TABLE IF NOT EXISTS `users` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `submitter` int(11) NOT NULL,
  `date_submitted` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `login` tinyint(4) NOT NULL DEFAULT '0',
  `delete` tinyint(4) NOT NULL,
  `edit` tinyint(4) NOT NULL DEFAULT '1',
  `icon` tinyint(4) NOT NULL,
  `action_name` varchar(255) NOT NULL,
  `post` varchar(255) NOT NULL DEFAULT 'change_status',
  `hide` tinyint(4) NOT NULL,
  `ordering` tinyint(4) NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `name`, `submitter`, `date_submitted`, `login`, `delete`, `edit`, `icon`, `action_name`, `post`, `hide`, `ordering`, `status`) VALUES
(1, 'Active', 1, '2009-10-08 05:32:43', 1, 0, 1, 5, 'Re-activate', 'change_status', 0, 1, 1),
(2, 'Suspended', 1, '2010-07-29 00:58:25', 0, 0, 1, 7, 'Suspend', 'change_status', 0, 2, 1),
(3, 'Deleted', 1, '2010-07-28 10:25:53', 0, 0, 1, 16, 'Delete', 'change_status', 0, 3, 1),
(4, 'Delete Forever', 1, '2009-10-19 08:39:54', 0, 0, 1, 10, 'Delete Forever', 'delete', 1, 4, 2);

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

--
-- Table structure for table `users_con`
--

CREATE TABLE IF NOT EXISTS `users_con` (
  `id` int(11) unsigned NOT NULL,
  `con_id` int(11) unsigned NOT NULL,
  PRIMARY KEY (`id`,`con_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `users_con`
--

INSERT INTO `users_con` (`id`, `con_id`) VALUES
(1, 2),
(1, 3),
(2, 1),
(2, 3),
(3, 1),
(3, 4);
