Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
salarycalculator/salarycalculator_2017-04-25.sql
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
129 lines (98 sloc)
4.43 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ************************************************************ | |
# Sequel Pro SQL dump | |
# Version 4541 | |
# | |
# http://www.sequelpro.com/ | |
# https://github.com/sequelpro/sequelpro | |
# | |
# Host: 127.0.0.1 (MySQL 5.7.17) | |
# Database: salarycalculator | |
# Generation Time: 2017-04-25 21:22:55 +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 calcd | |
# ------------------------------------------------------------ | |
DROP TABLE IF EXISTS `calcd`; | |
CREATE TABLE `calcd` ( | |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, | |
`title` varchar(80) COLLATE utf8_unicode_ci NOT NULL, | |
`salary` int(11) NOT NULL, | |
`state` varchar(64) COLLATE utf8_unicode_ci NOT NULL, | |
`insurance` int(11) NOT NULL, | |
`retirement` int(11) NOT NULL, | |
`distance` int(11) NOT NULL, | |
`hours` int(11) NOT NULL, | |
`oncall` varchar(64) COLLATE utf8_unicode_ci NOT NULL, | |
`night` varchar(64) COLLATE utf8_unicode_ci NOT NULL, | |
`user` int(10) unsigned NOT NULL, | |
PRIMARY KEY (`id`), | |
KEY `users_id` (`user`), | |
CONSTRAINT `users_id` FOREIGN KEY (`user`) REFERENCES `users` (`id`) | |
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | |
LOCK TABLES `calcd` WRITE; | |
/*!40000 ALTER TABLE `calcd` DISABLE KEYS */; | |
INSERT INTO `calcd` (`id`, `title`, `salary`, `state`, `insurance`, `retirement`, `distance`, `hours`, `oncall`, `night`, `user`) | |
VALUES | |
(6,'Addict',50000,'HI',5000,5,45,60,'0','on',3), | |
(7,'Boo',20000,'CO',6000,3,30,60,'0','0',3); | |
/*!40000 ALTER TABLE `calcd` ENABLE KEYS */; | |
UNLOCK TABLES; | |
# Dump of table migrations | |
# ------------------------------------------------------------ | |
DROP TABLE IF EXISTS `migrations`; | |
CREATE TABLE `migrations` ( | |
`migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | |
`batch` int(11) NOT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | |
LOCK TABLES `migrations` WRITE; | |
/*!40000 ALTER TABLE `migrations` DISABLE KEYS */; | |
INSERT INTO `migrations` (`migration`, `batch`) | |
VALUES | |
('2014_10_12_000000_create_users_table',1), | |
('2014_10_12_100000_create_password_resets_table',1), | |
('2017_04_17_183422_create_salary',2); | |
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */; | |
UNLOCK TABLES; | |
# Dump of table password_resets | |
# ------------------------------------------------------------ | |
DROP TABLE IF EXISTS `password_resets`; | |
CREATE TABLE `password_resets` ( | |
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | |
`token` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | |
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | |
KEY `password_resets_email_index` (`email`), | |
KEY `password_resets_token_index` (`token`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | |
# Dump of table users | |
# ------------------------------------------------------------ | |
DROP TABLE IF EXISTS `users`; | |
CREATE TABLE `users` ( | |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, | |
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | |
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | |
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | |
`remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL, | |
PRIMARY KEY (`id`), | |
UNIQUE KEY `users_email_unique` (`email`) | |
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | |
LOCK TABLES `users` WRITE; | |
/*!40000 ALTER TABLE `users` DISABLE KEYS */; | |
INSERT INTO `users` (`id`, `name`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) | |
VALUES | |
(3,'melvin','m@uconn.edu','$2y$10$dwjNJ9Wr2b9zgonJ3PmNPurPIcA2mQLS64d/wu7g.Rc4Xla14pVUG',NULL,'2017-04-21 18:58:18','2017-04-21 18:58:18'); | |
/*!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 */; |