Created
November 24, 2011 21:54
-
-
Save rlemon/1392389 to your computer and use it in GitHub Desktop.
sql_dump ssi
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
-- phpMyAdmin SQL Dump | |
-- version 3.4.5deb1 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Generation Time: Nov 24, 2011 at 04:54 PM | |
-- Server version: 5.1.58 | |
-- PHP Version: 5.3.6-13ubuntu3.2 | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; | |
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 utf8 */; | |
-- | |
-- Database: `SSI` | |
-- | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `inventory` | |
-- | |
CREATE TABLE IF NOT EXISTS `inventory` ( | |
`id` int(10) NOT NULL AUTO_INCREMENT, | |
`part_code` varchar(255) NOT NULL, | |
`part_description` varchar(255) NOT NULL, | |
`part_supplier_id` int(10) NOT NULL, | |
`supplier_part_code` varchar(255) NOT NULL, | |
`loc` varchar(255) NOT NULL, | |
`qty` int(10) NOT NULL, | |
`unit_cost` float NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `suppliers` | |
-- | |
CREATE TABLE IF NOT EXISTS `suppliers` ( | |
`id` int(10) NOT NULL AUTO_INCREMENT, | |
`name` varchar(255) NOT NULL, | |
`description` varchar(255) NOT NULL, | |
`email` varchar(255) NOT NULL, | |
`telephone` varchar(255) NOT NULL, | |
`fax` varchar(255) NOT NULL, | |
`url` varchar(255) NOT NULL, | |
`contact_name` varchar(255) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `users` | |
-- | |
CREATE TABLE IF NOT EXISTS `users` ( | |
`id` int(10) NOT NULL AUTO_INCREMENT, | |
`username` varchar(255) NOT NULL, | |
`password` varchar(255) NOT NULL, | |
`role` enum('default','admin','owner') NOT NULL, | |
PRIMARY KEY (`id`), | |
UNIQUE KEY `username` (`username`) | |
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; | |
/*!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 */; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment