Skip to content

Commit

Permalink
added database
Browse files Browse the repository at this point in the history
  • Loading branch information
Shemona Singh authored and Shemona Singh committed Dec 1, 2017
1 parent 161c3c0 commit f14b26b
Showing 1 changed file with 86 additions and 0 deletions.
86 changes: 86 additions & 0 deletions db/lamp_2017-12-01.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# ************************************************************
# Sequel Pro SQL dump
# Version 4541
#
# http://www.sequelpro.com/
# https://github.com/sequelpro/sequelpro
#
# Host: 127.0.0.1 (MySQL 5.7.20)
# Database: lamp
# Generation Time: 2017-12-01 19:30:46 +0000
# ************************************************************


/*!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 */;
/*!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 */;


# Dump of table Tweets
# ------------------------------------------------------------

DROP TABLE IF EXISTS `Tweets`;

CREATE TABLE `Tweets` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`tweet_id` bigint(11) DEFAULT NULL,
`tweet` char(140) DEFAULT NULL,
`date_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

LOCK TABLES `Tweets` WRITE;
/*!40000 ALTER TABLE `Tweets` DISABLE KEYS */;

INSERT INTO `Tweets` (`id`, `tweet_id`, `tweet`, `date_time`)
VALUES
(1,123,'testing tweet! one two three','1000-01-01 00:00:00'),
(2,456,'testing tweet again! four five six','1000-01-01 00:00:00');

/*!40000 ALTER TABLE `Tweets` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table Users
# ------------------------------------------------------------

DROP TABLE IF EXISTS `Users`;

CREATE TABLE `Users` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`first_name` text,
`last_name` text,
`username` char(20) DEFAULT '',
`password` text,
`email` text,
`picture` text,
`bio` char(140) DEFAULT '',
`url` text,
`location` text,
`date_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

LOCK TABLES `Users` WRITE;
/*!40000 ALTER TABLE `Users` DISABLE KEYS */;

INSERT INTO `Users` (`id`, `first_name`, `last_name`, `username`, `password`, `email`, `picture`, `bio`, `url`, `location`, `date_time`)
VALUES
(1,'shemona','singh','mona','pass','shemona.singh@uconn.edu',NULL,'',NULL,'milford','1000-01-01 00:00:00'),
(2,'chris','stumper','chris','pass2','chris.stumper@uconn.edu',NULL,'',NULL,'simsbury','1000-01-01 00:00:00');

/*!40000 ALTER TABLE `Users` ENABLE KEYS */;
UNLOCK TABLES;



/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_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 */;

0 comments on commit f14b26b

Please sign in to comment.