Added database schema
This commit is contained in:
parent
95aa4f43f4
commit
0b10b5ebb1
1 changed files with 61 additions and 0 deletions
61
negozio_online.sql
Normal file
61
negozio_online.sql
Normal file
|
@ -0,0 +1,61 @@
|
|||
-- phpMyAdmin SQL Dump
|
||||
-- version 4.7.0
|
||||
-- https://www.phpmyadmin.net/
|
||||
--
|
||||
-- Host: localhost
|
||||
-- Generation Time: May 22, 2017 at 02:17 PM
|
||||
-- Server version: 10.1.23-MariaDB
|
||||
-- PHP Version: 7.1.5
|
||||
|
||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||
SET AUTOCOMMIT = 0;
|
||||
START TRANSACTION;
|
||||
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 utf8mb4 */;
|
||||
|
||||
--
|
||||
-- Database: `negozio_online`
|
||||
--
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `clienti`
|
||||
--
|
||||
|
||||
CREATE TABLE `clienti` (
|
||||
`id` int(11) NOT NULL,
|
||||
`Username` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`Password` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`Email` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`Tok` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Indexes for dumped tables
|
||||
--
|
||||
|
||||
--
|
||||
-- Indexes for table `clienti`
|
||||
--
|
||||
ALTER TABLE `clienti`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for dumped tables
|
||||
--
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for table `clienti`
|
||||
--
|
||||
ALTER TABLE `clienti`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;COMMIT;
|
||||
|
||||
/*!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 */;
|
Reference in a new issue