Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pa21617d4ti07
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rizky
pa21617d4ti07
Commits
f7f27434
Commit
f7f27434
authored
May 12, 2017
by
MIRACLE\totapetro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Database
parent
a93aa8bf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
152 additions
and
15 deletions
+152
-15
pa2.sql
pa2.sql
+152
-15
No files found.
pa2.sql
View file @
f7f27434
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net
-- http://www.phpmyadmin.net
--
--
-- Host: 127.0.0.1
-- Host: 127.0.0.1
-- Generation Time: May
02, 2017 at 11:47
AM
-- Generation Time: May
12, 2017 at 11:22
AM
-- Server version: 10.1.16-MariaDB
-- Server version: 10.1.16-MariaDB
-- PHP Version: 7.0.9
-- PHP Version: 7.0.9
...
@@ -82,10 +82,10 @@ CREATE TABLE `karyawans` (
...
@@ -82,10 +82,10 @@ CREATE TABLE `karyawans` (
--
--
INSERT
INTO
`karyawans`
(
`id`
,
`nama`
,
`pekerjaan`
,
`notlp`
,
`created_at`
,
`updated_at`
)
VALUES
INSERT
INTO
`karyawans`
(
`id`
,
`nama`
,
`pekerjaan`
,
`notlp`
,
`created_at`
,
`updated_at`
)
VALUES
(
1
,
'Project Manager'
,
'Rizky Manurung'
,
'082166795453'
,
'2017-05-03 00:18:08'
,
'2017-05-02 00:00:14'
),
(
1
,
'Rizky Manurung'
,
'Project Manager '
,
'082166795453'
,
'2017-05-03 00:18:08'
,
'2017-05-05 07:25:27'
),
(
2
,
'Irene Debora Panjaitan'
,
'Developer'
,
'082166795454'
,
'2017-05-03 00:18:28'
,
'2017-05-03 00:18:28'
),
(
3
,
'Rahel Melinda Purba'
,
'Developer'
,
'082166795455'
,
'2017-05-03 00:19:00'
,
'2017-05-03 00:19:00'
),
(
3
,
'Rahel Melinda Purba'
,
'Developer'
,
'082166795455'
,
'2017-05-03 00:19:00'
,
'2017-05-03 00:19:00'
),
(
4
,
'Patota Adi Petro Siahaan'
,
'Developer'
,
'082166795456'
,
'2017-05-03 00:19:19'
,
'2017-05-03 00:19:19'
);
(
4
,
'Patota Adi Petro Siahaan'
,
'Developer'
,
'082166795456'
,
'2017-05-03 00:19:19'
,
'2017-05-03 00:19:19'
),
(
8
,
'Irene Debora Panjaitan'
,
'Developer kece'
,
'012345678987'
,
'2017-05-05 07:18:51'
,
'2017-05-05 07:20:54'
);
-- --------------------------------------------------------
-- --------------------------------------------------------
...
@@ -107,7 +107,35 @@ INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
...
@@ -107,7 +107,35 @@ INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(
10
,
'2014_07_02_230147_migration_cartalyst_sentinel'
,
1
),
(
10
,
'2014_07_02_230147_migration_cartalyst_sentinel'
,
1
),
(
12
,
'2017_04_28_161431_create_karyawans_table'
,
2
),
(
12
,
'2017_04_28_161431_create_karyawans_table'
,
2
),
(
15
,
'2017_05_01_044733_create_karyawans_table'
,
3
),
(
15
,
'2017_05_01_044733_create_karyawans_table'
,
3
),
(
16
,
'2017_05_02_164836_create_customers_table'
,
3
);
(
16
,
'2017_05_02_164836_create_customers_table'
,
3
),
(
17
,
'2017_05_08_095004_create_tickets_table'
,
4
),
(
18
,
'2017_05_08_095245_create_orders_table'
,
4
);
-- --------------------------------------------------------
--
-- Table structure for table `orders`
--
CREATE
TABLE
`orders`
(
`id`
int
(
10
)
UNSIGNED
NOT
NULL
,
`id_ticket`
int
(
10
)
UNSIGNED
NOT
NULL
,
`nama`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`harga`
int
(
255
)
NOT
NULL
,
`jumlah`
int
(
255
)
NOT
NULL
,
`status`
int
(
2
)
NOT
NULL
DEFAULT
'0'
,
`created_at`
timestamp
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
,
`updated_at`
timestamp
NOT
NULL
DEFAULT
'0000-00-00 00:00:00'
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
--
-- Dumping data for table `orders`
--
INSERT
INTO
`orders`
(
`id`
,
`id_ticket`
,
`nama`
,
`harga`
,
`jumlah`
,
`status`
,
`created_at`
,
`updated_at`
)
VALUES
(
1
,
1
,
'Ticket Umum'
,
50000
,
5
,
1
,
'2017-05-10 02:03:30'
,
'2017-05-09 02:44:25'
),
(
2
,
1
,
'Ticket Umum'
,
30000
,
3
,
1
,
'2017-05-10 02:06:18'
,
'2017-05-09 19:05:42'
),
(
3
,
1
,
'Ticket Umum'
,
40000
,
4
,
1
,
'2017-05-10 03:52:56'
,
'2017-05-09 20:51:14'
);
-- --------------------------------------------------------
-- --------------------------------------------------------
...
@@ -141,7 +169,18 @@ INSERT INTO `persistences` (`id`, `user_id`, `code`, `created_at`, `updated_at`)
...
@@ -141,7 +169,18 @@ INSERT INTO `persistences` (`id`, `user_id`, `code`, `created_at`, `updated_at`)
(
43
,
1
,
'llDhOvVkkVRhEZ1csuqiXGA52ehmCZkL'
,
'2017-05-02 01:38:59'
,
'2017-05-02 01:38:59'
),
(
43
,
1
,
'llDhOvVkkVRhEZ1csuqiXGA52ehmCZkL'
,
'2017-05-02 01:38:59'
,
'2017-05-02 01:38:59'
),
(
45
,
6
,
'nVhULYuIRQnlY1DimuHmhGv0ipwo0dYg'
,
'2017-05-02 04:50:31'
,
'2017-05-02 04:50:31'
),
(
45
,
6
,
'nVhULYuIRQnlY1DimuHmhGv0ipwo0dYg'
,
'2017-05-02 04:50:31'
,
'2017-05-02 04:50:31'
),
(
47
,
6
,
'RDwxqkK6wN9f6O9qjxL8gtv76m54dFeZ'
,
'2017-05-02 04:54:03'
,
'2017-05-02 04:54:03'
),
(
47
,
6
,
'RDwxqkK6wN9f6O9qjxL8gtv76m54dFeZ'
,
'2017-05-02 04:54:03'
,
'2017-05-02 04:54:03'
),
(
53
,
1
,
'Y1hPxaR9UWuT0segtu62TXKkbOyb5E1u'
,
'2017-05-02 05:28:07'
,
'2017-05-02 05:28:07'
);
(
53
,
1
,
'Y1hPxaR9UWuT0segtu62TXKkbOyb5E1u'
,
'2017-05-02 05:28:07'
,
'2017-05-02 05:28:07'
),
(
55
,
4
,
'6AdmLW4InrB7qmgzLs7YnvfREIdR42fi'
,
'2017-05-02 20:51:17'
,
'2017-05-02 20:51:17'
),
(
66
,
1
,
'KhqJpCptqZf0EIMVMRkqBgSRhpLrr7oR'
,
'2017-05-03 20:35:44'
,
'2017-05-03 20:35:44'
),
(
67
,
1
,
'9zVnJMByznLJZgy3ENtSeU7md4tJIbFW'
,
'2017-05-04 05:53:38'
,
'2017-05-04 05:53:38'
),
(
69
,
1
,
'qMnDlO9Ozts2zxc8NYma1eSEhPgMPCSO'
,
'2017-05-05 07:16:36'
,
'2017-05-05 07:16:36'
),
(
71
,
4
,
'Sp9jyUdWf7qa1S0lG9UxlOP4TDpZ8NGb'
,
'2017-05-08 20:59:34'
,
'2017-05-08 20:59:34'
),
(
72
,
4
,
'jujodSA1dfxjNf1kCnYv3F7hgBbgsWPL'
,
'2017-05-08 21:36:08'
,
'2017-05-08 21:36:08'
),
(
75
,
4
,
'OKfJZ7w1Ya12zl0iNmRiK7rJ1O0hqdVf'
,
'2017-05-09 01:40:49'
,
'2017-05-09 01:40:49'
),
(
77
,
4
,
'ti2RA3e16c3I9AyEINt2WHejisorAIXW'
,
'2017-05-09 02:10:20'
,
'2017-05-09 02:10:20'
),
(
79
,
4
,
's76PMeEh0qaOgKmalOT2v31yQuWpuyGh'
,
'2017-05-09 02:21:28'
,
'2017-05-09 02:21:28'
),
(
80
,
6
,
'jydcOOuRtn7PqeKVHDRGwVqlGeIyoa1i'
,
'2017-05-09 18:32:14'
,
'2017-05-09 18:32:14'
),
(
85
,
6
,
'0skbu1WUEBXzTnUX7D9qsPcZVucqOVVy'
,
'2017-05-09 20:52:06'
,
'2017-05-09 20:52:06'
);
-- --------------------------------------------------------
-- --------------------------------------------------------
...
@@ -243,7 +282,61 @@ INSERT INTO `throttle` (`id`, `user_id`, `type`, `ip`, `created_at`, `updated_at
...
@@ -243,7 +282,61 @@ INSERT INTO `throttle` (`id`, `user_id`, `type`, `ip`, `created_at`, `updated_at
(
13
,
4
,
'user'
,
NULL
,
'2017-05-02 01:55:52'
,
'2017-05-02 01:55:52'
),
(
13
,
4
,
'user'
,
NULL
,
'2017-05-02 01:55:52'
,
'2017-05-02 01:55:52'
),
(
14
,
NULL
,
'global'
,
NULL
,
'2017-05-02 02:08:06'
,
'2017-05-02 02:08:06'
),
(
14
,
NULL
,
'global'
,
NULL
,
'2017-05-02 02:08:06'
,
'2017-05-02 02:08:06'
),
(
15
,
NULL
,
'ip'
,
'::1'
,
'2017-05-02 02:08:06'
,
'2017-05-02 02:08:06'
),
(
15
,
NULL
,
'ip'
,
'::1'
,
'2017-05-02 02:08:06'
,
'2017-05-02 02:08:06'
),
(
16
,
4
,
'user'
,
NULL
,
'2017-05-02 02:08:06'
,
'2017-05-02 02:08:06'
);
(
16
,
4
,
'user'
,
NULL
,
'2017-05-02 02:08:06'
,
'2017-05-02 02:08:06'
),
(
17
,
NULL
,
'global'
,
NULL
,
'2017-05-03 19:40:07'
,
'2017-05-03 19:40:07'
),
(
18
,
NULL
,
'ip'
,
'::1'
,
'2017-05-03 19:40:07'
,
'2017-05-03 19:40:07'
),
(
19
,
1
,
'user'
,
NULL
,
'2017-05-03 19:40:07'
,
'2017-05-03 19:40:07'
),
(
20
,
NULL
,
'global'
,
NULL
,
'2017-05-09 18:50:45'
,
'2017-05-09 18:50:45'
),
(
21
,
NULL
,
'ip'
,
'::1'
,
'2017-05-09 18:50:45'
,
'2017-05-09 18:50:45'
),
(
22
,
6
,
'user'
,
NULL
,
'2017-05-09 18:50:45'
,
'2017-05-09 18:50:45'
);
-- --------------------------------------------------------
--
-- Table structure for table `tickets`
--
CREATE
TABLE
`tickets`
(
`id`
int
(
10
)
UNSIGNED
NOT
NULL
,
`name`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`price`
double
(
8
,
2
)
NOT
NULL
,
`images`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`created_at`
timestamp
NULL
DEFAULT
NULL
,
`updated_at`
timestamp
NULL
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
--
-- Dumping data for table `tickets`
--
INSERT
INTO
`tickets`
(
`id`
,
`name`
,
`price`
,
`images`
,
`created_at`
,
`updated_at`
)
VALUES
(
1
,
'Ticket Umum'
,
10000
.
00
,
'Screenshot (1).png'
,
'2017-05-08 19:12:52'
,
'2017-05-08 20:48:21'
);
-- --------------------------------------------------------
--
-- Table structure for table `transactions`
--
CREATE
TABLE
`transactions`
(
`id`
int
(
10
)
NOT
NULL
,
`id_order`
int
(
10
)
NOT
NULL
,
`id_ticket`
varchar
(
10
)
NOT
NULL
,
`nama`
varchar
(
255
)
NOT
NULL
,
`jumlah`
int
(
255
)
NOT
NULL
,
`harga`
int
(
255
)
NOT
NULL
,
`status`
int
(
2
)
NOT
NULL
,
`created_at`
timestamp
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
,
`updated_at`
timestamp
NOT
NULL
DEFAULT
'0000-00-00 00:00:00'
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Dumping data for table `transactions`
--
INSERT
INTO
`transactions`
(
`id`
,
`id_order`
,
`id_ticket`
,
`nama`
,
`jumlah`
,
`harga`
,
`status`
,
`created_at`
,
`updated_at`
)
VALUES
(
1
,
2
,
'1'
,
'Ticket Umum'
,
3
,
30000
,
1
,
'2017-05-09 19:06:18'
,
'2017-05-09 19:06:18'
),
(
2
,
3
,
'1'
,
'Ticket Umum'
,
4
,
40000
,
1
,
'2017-05-09 20:52:56'
,
'2017-05-09 20:52:56'
);
-- --------------------------------------------------------
-- --------------------------------------------------------
...
@@ -269,11 +362,11 @@ CREATE TABLE `users` (
...
@@ -269,11 +362,11 @@ CREATE TABLE `users` (
--
--
INSERT
INTO
`users`
(
`id`
,
`email`
,
`password`
,
`permissions`
,
`last_login`
,
`first_name`
,
`last_name`
,
`location`
,
`created_at`
,
`updated_at`
)
VALUES
INSERT
INTO
`users`
(
`id`
,
`email`
,
`password`
,
`permissions`
,
`last_login`
,
`first_name`
,
`last_name`
,
`location`
,
`created_at`
,
`updated_at`
)
VALUES
(
1
,
'museumtbsc@gmail.com'
,
'$2y$10$CiKqiKi4Aanh3Bq1VFTbkeD5FGhDpd8ZITMfFp5I5zRwvnJDU7udO'
,
NULL
,
'2017-05-0
2 02:28:03'
,
'Museum'
,
'TBSC'
,
'Balige'
,
'2017-04-04 19:35:55'
,
'2017-05-02 02:28:03
'
),
(
1
,
'museumtbsc@gmail.com'
,
'$2y$10$CiKqiKi4Aanh3Bq1VFTbkeD5FGhDpd8ZITMfFp5I5zRwvnJDU7udO'
,
NULL
,
'2017-05-0
5 07:24:44'
,
'Museum'
,
'TBSC'
,
'Balige'
,
'2017-04-04 19:35:55'
,
'2017-05-05 07:24:44
'
),
(
3
,
'manager@gmail.com'
,
'$2y$10$qHILtG78hGGrB7Q4xAaX.eNRxZ/nG4Zu97/gaaWSo.dkED26AMnZe'
,
NULL
,
'2017-05-0
2 02:33:46'
,
'Manager'
,
'Manager'
,
'Balige'
,
'2017-04-04 20:54:11'
,
'2017-05-02 02:33:46
'
),
(
3
,
'manager@gmail.com'
,
'$2y$10$qHILtG78hGGrB7Q4xAaX.eNRxZ/nG4Zu97/gaaWSo.dkED26AMnZe'
,
NULL
,
'2017-05-0
3 19:27:23'
,
'Manager'
,
'Manager'
,
'Balige'
,
'2017-04-04 20:54:11'
,
'2017-05-03 19:27:23
'
),
(
4
,
'customer@gmail.com'
,
'$2y$10$nGsosAG9max/xyH/HPtWXOIMfi7g/EYOtPXuZp7wCM3feTi8XAyqW'
,
NULL
,
'2017-05-0
2 02:46:19'
,
'Customer'
,
'Customer'
,
'Balige'
,
'2017-04-10 05:32:22'
,
'2017-05-02 02:46:19
'
),
(
4
,
'customer@gmail.com'
,
'$2y$10$nGsosAG9max/xyH/HPtWXOIMfi7g/EYOtPXuZp7wCM3feTi8XAyqW'
,
NULL
,
'2017-05-0
9 20:50:41'
,
'Customer'
,
'Customer'
,
'Balige'
,
'2017-04-10 05:32:22'
,
'2017-05-09 20:50:41
'
),
(
5
,
'customer1@gmail.com'
,
'$2y$10$kihk069UOvMJyLizYwtkTeX.VK9Ak0xdgClMc3IdBEaH8sbw3tOuW'
,
NULL
,
'2017-04-28 21:58:18'
,
'customer1'
,
'cust'
,
'asdsal'
,
'2017-04-28 21:58:00'
,
'2017-04-28 21:58:18'
),
(
5
,
'customer1@gmail.com'
,
'$2y$10$kihk069UOvMJyLizYwtkTeX.VK9Ak0xdgClMc3IdBEaH8sbw3tOuW'
,
NULL
,
'2017-04-28 21:58:18'
,
'customer1'
,
'cust'
,
'asdsal'
,
'2017-04-28 21:58:00'
,
'2017-04-28 21:58:18'
),
(
6
,
'staff@gmail.com'
,
'$2y$10$WTohvoLmBzOMvXnDalxrVuC6PnMNouxspOJaqiNnfUGBp9bN4kYNm'
,
NULL
,
'2017-05-0
2 02:16:54'
,
'staff'
,
'adminsistrasi'
,
'sdan'
,
'2017-04-28 22:35:32'
,
'2017-05-02 02:16:54
'
);
(
6
,
'staff@gmail.com'
,
'$2y$10$WTohvoLmBzOMvXnDalxrVuC6PnMNouxspOJaqiNnfUGBp9bN4kYNm'
,
NULL
,
'2017-05-0
9 20:52:06'
,
'staff'
,
'adminsistrasi'
,
'sdan'
,
'2017-04-28 22:35:32'
,
'2017-05-09 20:52:06
'
);
--
--
-- Indexes for dumped tables
-- Indexes for dumped tables
...
@@ -304,6 +397,13 @@ ALTER TABLE `migrations`
...
@@ -304,6 +397,13 @@ ALTER TABLE `migrations`
ADD
PRIMARY
KEY
(
`id`
);
ADD
PRIMARY
KEY
(
`id`
);
--
--
-- Indexes for table `orders`
--
ALTER
TABLE
`orders`
ADD
PRIMARY
KEY
(
`id`
),
ADD
KEY
`orders_id_foreign`
(
`id_ticket`
);
--
-- Indexes for table `persistences`
-- Indexes for table `persistences`
--
--
ALTER
TABLE
`persistences`
ALTER
TABLE
`persistences`
...
@@ -337,6 +437,18 @@ ALTER TABLE `throttle`
...
@@ -337,6 +437,18 @@ ALTER TABLE `throttle`
ADD
KEY
`throttle_user_id_index`
(
`user_id`
);
ADD
KEY
`throttle_user_id_index`
(
`user_id`
);
--
--
-- Indexes for table `tickets`
--
ALTER
TABLE
`tickets`
ADD
PRIMARY
KEY
(
`id`
);
--
-- Indexes for table `transactions`
--
ALTER
TABLE
`transactions`
ADD
PRIMARY
KEY
(
`id`
);
--
-- Indexes for table `users`
-- Indexes for table `users`
--
--
ALTER
TABLE
`users`
ALTER
TABLE
`users`
...
@@ -361,17 +473,22 @@ ALTER TABLE `customers`
...
@@ -361,17 +473,22 @@ ALTER TABLE `customers`
-- AUTO_INCREMENT for table `karyawans`
-- AUTO_INCREMENT for table `karyawans`
--
--
ALTER
TABLE
`karyawans`
ALTER
TABLE
`karyawans`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
8
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
9
;
--
--
-- AUTO_INCREMENT for table `migrations`
-- AUTO_INCREMENT for table `migrations`
--
--
ALTER
TABLE
`migrations`
ALTER
TABLE
`migrations`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
17
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
19
;
--
-- AUTO_INCREMENT for table `orders`
--
ALTER
TABLE
`orders`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
4
;
--
--
-- AUTO_INCREMENT for table `persistences`
-- AUTO_INCREMENT for table `persistences`
--
--
ALTER
TABLE
`persistences`
ALTER
TABLE
`persistences`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
8
9
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
8
6
;
--
--
-- AUTO_INCREMENT for table `reminders`
-- AUTO_INCREMENT for table `reminders`
--
--
...
@@ -386,12 +503,32 @@ ALTER TABLE `roles`
...
@@ -386,12 +503,32 @@ ALTER TABLE `roles`
-- AUTO_INCREMENT for table `throttle`
-- AUTO_INCREMENT for table `throttle`
--
--
ALTER
TABLE
`throttle`
ALTER
TABLE
`throttle`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
17
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
23
;
--
-- AUTO_INCREMENT for table `tickets`
--
ALTER
TABLE
`tickets`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
2
;
--
-- AUTO_INCREMENT for table `transactions`
--
ALTER
TABLE
`transactions`
MODIFY
`id`
int
(
10
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
3
;
--
--
-- AUTO_INCREMENT for table `users`
-- AUTO_INCREMENT for table `users`
--
--
ALTER
TABLE
`users`
ALTER
TABLE
`users`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
7
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
7
;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `orders`
--
ALTER
TABLE
`orders`
ADD
CONSTRAINT
`orders_id_foreign`
FOREIGN
KEY
(
`id_ticket`
)
REFERENCES
`tickets`
(
`id`
);
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */
;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */
;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */
;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */
;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */
;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment