· 9 years ago · Dec 05, 2016, 08:26 AM
1-- phpMyAdmin SQL Dump
2-- version 4.3.8
3-- http://www.phpmyadmin.net
4--
5-- Host: localhost
6-- Generation Time: Dec 05, 2016 at 02:25 AM
7-- Server version: 5.5.51-38.2
8-- PHP Version: 5.4.31
9
10SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
11SET time_zone = "+00:00";
12
13
14/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
15/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
16/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
17/*!40101 SET NAMES utf8 */;
18
19--
20-- Database: `mrgalkon_rkclients`
21--
22
23-- --------------------------------------------------------
24
25--
26-- Table structure for table `organization_groups`
27--
28
29CREATE TABLE IF NOT EXISTS `organization_groups` (
30 `group_id` int(11) NOT NULL,
31 `group_uid` int(11) NOT NULL,
32 `group_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
33 `group_description` varchar(255) COLLATE utf8_unicode_ci NOT NULL
34) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
35
36--
37-- Dumping data for table `organization_groups`
38--
39
40INSERT INTO `organization_groups` (`group_id`, `group_uid`, `group_name`, `group_description`) VALUES
41(1, 1, 'Developers', 'The developers for SoulSplit, including but not limited to: software developers, web developers, etc.'),
42(2, 1, 'Executives', 'Chiefs in command '),
43(3, 3, 'Executives', 'Executive employees');
44
45-- --------------------------------------------------------
46
47--
48-- Table structure for table `organization_group_members`
49--
50
51CREATE TABLE IF NOT EXISTS `organization_group_members` (
52 `member_id` int(11) NOT NULL,
53 `member_uid` int(11) NOT NULL,
54 `member_group_id` int(11) NOT NULL,
55 `member_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
56 `member_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
57 `member_title` varchar(255) COLLATE utf8_unicode_ci NOT NULL
58) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
59
60--
61-- Dumping data for table `organization_group_members`
62--
63
64INSERT INTO `organization_group_members` (`member_id`, `member_uid`, `member_group_id`, `member_name`, `member_email`, `member_title`) VALUES
65(1, 1, 1, 'John Bob', 'j.bob@soulsplit.com', 'Developer'),
66(2, 1, 1, 'Jimmy Nix', 'j.nix@soulsplit.com', 'Developer'),
67(3, 1, 1, 'Penis Face', 'dick@penis.com', 'Ring Leader');
68
69-- --------------------------------------------------------
70
71--
72-- Table structure for table `organization_invoices`
73--
74
75CREATE TABLE IF NOT EXISTS `organization_invoices` (
76 `invoice_id` int(11) NOT NULL,
77 `organization_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
78 `invoice_state` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'pending'
79) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
80
81-- --------------------------------------------------------
82
83--
84-- Table structure for table `users`
85--
86
87CREATE TABLE IF NOT EXISTS `users` (
88 `uid` int(11) NOT NULL,
89 `username` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
90 `password` char(40) COLLATE utf8_unicode_ci NOT NULL,
91 `rights` int(11) NOT NULL DEFAULT '0',
92 `full_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
93 `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
94 `organization_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
95 `registration_date` date DEFAULT NULL
96) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
97
98--
99-- Dumping data for table `users`
100--
101
102INSERT INTO `users` (`uid`, `username`, `password`, `rights`, `full_name`, `email`, `organization_name`, `registration_date`) VALUES
103(1, 'soulsplit', '8fb1ba1252a986341919f5c9dc855e52647dbbee', 10, 'Josh', 'josh@email.com', 'SoulSplit', '2015-02-19'),
104(2, 'testacc', '16fa6a3d9658d57dd8b90ae843385910917655a4', 10, 'Testy McTesterson', 'test@test.com', 'Test Group Inc.', '2015-02-19'),
105(3, 'Galkon', 'd935d8859146404ed2d44c17aaf3a7e8ad5c5478', 0, 'Josh Lipson', 'joshua.lipson@gmail.com', 'Galkon Ltd.', '2015-10-08'),
106(4, 'Testing', 'f0aa8c639e308dcc34d4b0636c2c0c3567d15a89', 0, 'Test Account', 'test@test.com', 'Test Org.', '2016-12-05');
107
108--
109-- Indexes for dumped tables
110--
111
112--
113-- Indexes for table `organization_groups`
114--
115ALTER TABLE `organization_groups`
116 ADD PRIMARY KEY (`group_id`);
117
118--
119-- Indexes for table `organization_group_members`
120--
121ALTER TABLE `organization_group_members`
122 ADD PRIMARY KEY (`member_id`);
123
124--
125-- Indexes for table `organization_invoices`
126--
127ALTER TABLE `organization_invoices`
128 ADD PRIMARY KEY (`invoice_id`);
129
130--
131-- Indexes for table `users`
132--
133ALTER TABLE `users`
134 ADD PRIMARY KEY (`uid`), ADD UNIQUE KEY `username` (`username`);
135
136--
137-- AUTO_INCREMENT for dumped tables
138--
139
140--
141-- AUTO_INCREMENT for table `organization_groups`
142--
143ALTER TABLE `organization_groups`
144 MODIFY `group_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=4;
145--
146-- AUTO_INCREMENT for table `organization_group_members`
147--
148ALTER TABLE `organization_group_members`
149 MODIFY `member_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=4;
150--
151-- AUTO_INCREMENT for table `organization_invoices`
152--
153ALTER TABLE `organization_invoices`
154 MODIFY `invoice_id` int(11) NOT NULL AUTO_INCREMENT;
155--
156-- AUTO_INCREMENT for table `users`
157--
158ALTER TABLE `users`
159 MODIFY `uid` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=5;
160/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
161/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
162/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;