Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- phpMyAdmin SQL Dump
- -- version 4.0.10deb1
- -- http://www.phpmyadmin.net
- --
- -- Host: localhost
- -- Generation Time: Oct 21, 2016 at 05:00 PM
- -- Server version: 5.5.52-0ubuntu0.14.04.1
- -- PHP Version: 5.5.9-1ubuntu4.20
- SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
- SET time_zone = "+00:00";
- /*!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: `www.hellmanfriedman.dev`
- --
- -- --------------------------------------------------------
- --
- -- Table structure for table `role`
- --
- CREATE TABLE IF NOT EXISTS `role` (
- `rid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key: Unique role ID.',
- `name` varchar(64) NOT NULL DEFAULT '' COMMENT 'Unique role name.',
- `weight` int(11) NOT NULL DEFAULT '0' COMMENT 'The weight of this role in listings and the user interface.',
- PRIMARY KEY (`rid`),
- UNIQUE KEY `name` (`name`),
- KEY `name_weight` (`name`,`weight`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores user roles.' AUTO_INCREMENT=5 ;
- -- --------------------------------------------------------
- --
- -- Table structure for table `role_permission`
- --
- CREATE TABLE IF NOT EXISTS `role_permission` (
- `rid` int(10) unsigned NOT NULL COMMENT 'Foreign Key: role.rid.',
- `permission` varchar(128) NOT NULL DEFAULT '' COMMENT 'A single permission granted to the role identified by rid.',
- `module` varchar(255) NOT NULL DEFAULT '' COMMENT 'The module declaring the permission.',
- PRIMARY KEY (`rid`,`permission`),
- KEY `permission` (`permission`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores the permissions assigned to user roles.';
- -- --------------------------------------------------------
- --
- -- Table structure for table `users`
- --
- CREATE TABLE IF NOT EXISTS `users` (
- `uid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Primary Key: Unique user ID.',
- `name` varchar(60) NOT NULL DEFAULT '' COMMENT 'Unique user name.',
- `pass` varchar(128) NOT NULL DEFAULT '' COMMENT 'User’s password (hashed).',
- `mail` varchar(254) DEFAULT '' COMMENT 'User’s e-mail address.',
- `theme` varchar(255) NOT NULL DEFAULT '' COMMENT 'User’s default theme.',
- `signature` varchar(255) NOT NULL DEFAULT '' COMMENT 'User’s signature.',
- `signature_format` varchar(255) DEFAULT NULL COMMENT 'The filter_format.format of the signature.',
- `created` int(11) NOT NULL DEFAULT '0' COMMENT 'Timestamp for when user was created.',
- `access` int(11) NOT NULL DEFAULT '0' COMMENT 'Timestamp for previous time user accessed the site.',
- `login` int(11) NOT NULL DEFAULT '0' COMMENT 'Timestamp for user’s last login.',
- `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Whether the user is active(1) or blocked(0).',
- `timezone` varchar(32) DEFAULT NULL COMMENT 'User’s time zone.',
- `language` varchar(12) NOT NULL DEFAULT '' COMMENT 'User’s default language.',
- `picture` int(11) NOT NULL DEFAULT '0' COMMENT 'Foreign key: file_managed.fid of user’s picture.',
- `init` varchar(254) DEFAULT '' COMMENT 'E-mail address used for initial account creation.',
- `data` longblob COMMENT 'A serialized array of name value pairs that are related to the user. Any form values posted during user edit are stored and are loaded into the $user object during user_load(). Use of this field is discouraged and it will likely disappear in a future...',
- `uuid` char(36) NOT NULL DEFAULT '' COMMENT 'The Universally Unique Identifier.',
- PRIMARY KEY (`uid`),
- UNIQUE KEY `name` (`name`),
- KEY `access` (`access`),
- KEY `created` (`created`),
- KEY `mail` (`mail`),
- KEY `picture` (`picture`),
- KEY `uuid` (`uuid`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores user data.';
- -- --------------------------------------------------------
- --
- -- Table structure for table `users_roles`
- --
- CREATE TABLE IF NOT EXISTS `users_roles` (
- `uid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Primary Key: users.uid for user.',
- `rid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Primary Key: role.rid for role.',
- PRIMARY KEY (`uid`,`rid`),
- KEY `rid` (`rid`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Maps users to roles.';
- /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
- /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
- /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement