-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDump20141215.sql
More file actions
84 lines (73 loc) · 3.74 KB
/
Dump20141215.sql
File metadata and controls
84 lines (73 loc) · 3.74 KB
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
79
80
81
82
83
84
CREATE DATABASE IF NOT EXISTS `atm` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `atm`;
-- MySQL dump 10.13 Distrib 5.5.16, for Win32 (x86)
--
-- Host: localhost Database: atm
-- ------------------------------------------------------
-- Server version 5.1.47-community
/*!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 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `account`
--
DROP TABLE IF EXISTS `account`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `account` (
`id` int(11) NOT NULL,
`user_id` bigint(20) NOT NULL COMMENT 'User account is associated with',
`name` varchar(45) NOT NULL COMMENT 'account name',
`balance` double NOT NULL DEFAULT '0' COMMENT 'balance of the account',
`last_update` datetime NOT NULL COMMENT 'Timestamp of last update. Provided by the caller',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `account`
--
LOCK TABLES `account` WRITE;
/*!40000 ALTER TABLE `account` DISABLE KEYS */;
INSERT INTO `account` VALUES (1,999,'savings',10000,'2014-12-15 00:00:00'),(2,2,'Checking',1000,'2014-11-08 23:40:00'),(3,4,'checking',200,'2014-11-25 00:00:00'),(4,4,'savings',300,'2014-11-25 00:00:00'),(5,2,'savings',200,'2014-11-25 00:00:00'),(6,2,'qwe',123,'2014-11-29 00:00:00'),(7,5,'qwe',123,'2014-11-29 00:00:00'),(8,2,'asd',123,'2014-12-15 00:00:00'),(14,999,'checking',10000,'2014-12-15 00:00:00'),(15,999,'401k',90000,'2014-12-15 00:00:00');
/*!40000 ALTER TABLE `account` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user`
--
DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user` (
`id` bigint(20) NOT NULL,
`first_name` varchar(45) NOT NULL,
`last_name` varchar(100) NOT NULL,
`pin` int(11) NOT NULL,
`last_update` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user`
--
LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
INSERT INTO `user` VALUES (2,'Nick','Sweeney',1234,'2014-11-08 22:23:00'),(3,'test3','last3',3333,'2014-11-25 00:00:00'),(4,'4','4',4444,'2014-11-25 00:00:00'),(5,'qwe','qwe',1234,'2014-11-29 00:00:00'),(999,'Nick','Sweeney',1234,'2014-12-15 00:00:00'),(3333,'Nick333','333Sweeney',3333,'2014-11-22 00:00:00'),(5555,'55','55',5555,'2014-11-22 00:00:00'),(12345,'Nick','Sweeney',1234,'2014-12-15 00:00:00'),(123123,'test1','test2',1111,'2014-11-23 00:00:00'),(123456,'Nick','Sweeney',1234,'2014-12-15 00:00:00');
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2014-12-15 18:04:52