-
Notifications
You must be signed in to change notification settings - Fork 1
/
dbautocongrat.sql
56 lines (46 loc) · 2.31 KB
/
dbautocongrat.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
-- phpMyAdmin SQL Dump
-- version 2.11.9.4
-- http://www.phpmyadmin.net
--
-- Generation Time: Nov 21, 2010 at 04:42 AM
-- Server version: 5.0.91
-- PHP Version: 5.2.8
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: `dbautocongrat`
--
-- --------------------------------------------------------
--
-- Table structure for table `tblBirthday`
--
CREATE TABLE `tblBirthday` (
`bId` int(11) NOT NULL auto_increment,
`bTitle` varchar(255) collate utf8_unicode_ci NOT NULL COMMENT 'Mesajda gorunmur bu sadece user tebrikleri ferqlendirsin deye',
`bReceiverNumber` varchar(10) collate utf8_unicode_ci NOT NULL COMMENT 'tebriki qebul edenin nomresi, kodla birge',
`bMessage` text collate utf8_unicode_ci NOT NULL,
`uId` int(11) NOT NULL,
`bDate` varchar(50) collate utf8_unicode_ci NOT NULL COMMENT 'tebrik bu tarixde gonderilcek',
`bWasSent` enum('0','1') collate utf8_unicode_ci NOT NULL default '0' COMMENT '0-mesaj getmeyib, 1-mesaj gedib',
`bNotified` enum('0','1') collate utf8_unicode_ci NOT NULL default '0' COMMENT '0-istifadeciye xeberdarliq gonderilmiyib 1-gonderilib',
PRIMARY KEY (`bId`),
KEY `uId` (`uId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=27 ;
-- --------------------------------------------------------
--
-- Table structure for table `tblUser`
--
CREATE TABLE `tblUser` (
`uId` int(11) NOT NULL auto_increment,
`uSign` varchar(255) collate utf8_unicode_ci default NULL COMMENT 'gonderenin imzasi-ad soyad ve.s olar biler',
`uUsername` varchar(255) collate utf8_unicode_ci NOT NULL COMMENT 'bu userin azercell ve ya bakcell de olan loginidir',
`uOrgPassword` varchar(255) collate utf8_unicode_ci NOT NULL COMMENT 'bu userin azercell ve ya bakcell de olan paroludur',
`uPassword` varchar(255) collate utf8_unicode_ci NOT NULL,
`uOperator` enum('Bakcell','Azercell') collate utf8_unicode_ci NOT NULL,
`uPhoneNumber` varchar(9) collate utf8_unicode_ci NOT NULL COMMENT '9 reqemli telefon nomresi',
PRIMARY KEY (`uId`),
UNIQUE KEY `uUsername` (`uUsername`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=6 ;