-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsqltable.sql
78 lines (63 loc) · 2.59 KB
/
sqltable.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Aug 31, 2019 at 07:48 AM
-- Server version: 5.7.26
-- PHP Version: 7.2.18
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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 utf8mb4 */;
--
-- Database: `ticket`
--
-- --------------------------------------------------------
--
-- Table structure for table `auth`
--
DROP TABLE IF EXISTS `auth`;
CREATE TABLE IF NOT EXISTS `auth` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(50) NOT NULL,
`password` varchar(100) NOT NULL,
`name` varchar(50) CHARACTER SET utf8 COLLATE utf8_persian_ci NOT NULL,
PRIMARY KEY (`username`,`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `auth`
--
INSERT INTO `auth` (`id`, `username`, `password`, `name`) VALUES
(1, 'logadmin', 'd033e22ae348aeb5660fc2140aec35850c4da997', 'احمدعلی');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`firstname` varchar(25) COLLATE utf8_persian_ci NOT NULL,
`lastname` varchar(25) COLLATE utf8_persian_ci NOT NULL,
`age` tinyint(4) NOT NULL,
`field` varchar(25) COLLATE utf8_persian_ci NOT NULL,
`image` varchar(50) COLLATE utf8_persian_ci NOT NULL,
`comment` text COLLATE utf8_persian_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=utf8 COLLATE=utf8_persian_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `firstname`, `lastname`, `age`, `field`, `image`, `comment`) VALUES
(20, 'تقی', 'تقی زاده', 25, 'امور مالی', 'image/1762950990/745157265.jpg', 'متن برای تقی'),
(12, 'هاشم', 'شیخی پور', 28, 'امور مالی', 'image/1261454105/18609559.jpg', 'متن برای هاشم شیخی پور'),
(19, 'محمد', 'عالی زاده', 30, 'امور مالی', 'image/229883331/1891151957.jpg', 'متن برای محمد'),
(24, 'ممد', 'تقی پور', 25, 'مدیریت', 'image/53295855/480849759.jpg', 'متن برای ممد تقی پور ');
COMMIT;
/*!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 */;