-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaffable_beans.sql
More file actions
45 lines (37 loc) · 1002 Bytes
/
affable_beans.sql
File metadata and controls
45 lines (37 loc) · 1002 Bytes
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
-- phpMyAdmin SQL Dump
-- version 4.0.10deb1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Oct 28, 2016 at 04:58 PM
-- Server version: 5.5.53-0ubuntu0.14.04.1
-- PHP Version: 5.5.9-1ubuntu4.20
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `affable_beans`
--
-- --------------------------------------------------------
--
-- Table structure for table `categorie`
--
CREATE TABLE IF NOT EXISTS `categorie` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`libelle` varchar(50) NOT NULL,
`description` text,
`image` varchar(200) NOT NULL,
PRIMARY KEY (`id`)
);
-- --------------------------------------------------------
--
-- Table structure for table `produit`
--
CREATE TABLE IF NOT EXISTS `produit` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`libelle` varchar(100) NOT NULL,
`description` text NOT NULL,
`prix` double NOT NULL,
`image` varchar(200) NOT NULL,
`id_categorie` bigint(20) NOT NULL,
PRIMARY KEY (`id`)
);