Datenbank Datei
This commit is contained in:
parent
784325f9c6
commit
e3a7e4ea57
29
BancaDati.sql
Normal file
29
BancaDati.sql
Normal file
@ -0,0 +1,29 @@
|
||||
-- phpMyAdmin SQL Dump
|
||||
-- version 4.5.1
|
||||
-- http://www.phpmyadmin.net
|
||||
--
|
||||
-- Host: 127.0.0.1
|
||||
-- Erstellungszeit: 24. Nov 2017 um 17:01
|
||||
-- Server-Version: 10.1.16-MariaDB
|
||||
-- PHP-Version: 7.0.9
|
||||
|
||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||
SET time_zone = "+00:00";
|
||||
|
||||
--
|
||||
-- Datenbank: `blog`
|
||||
--
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
CREATE TABLE `ingredienti` ( /*Zutaten*/
|
||||
`id` varchar(36) NOT NULL,
|
||||
`cognome` varchar(200) NOT NULL, /*Name*/
|
||||
`caloriePerCento` int(5) NOT NULL, /*Kalorien pro Gramm*/
|
||||
`ilPeso` int(5) NULL, /*Gewicht*/
|
||||
`prezzo` decimal(4,2) NOT NULL, /*Preis*/
|
||||
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
ALTER TABLE `ingredienti`
|
||||
ADD PRIMARY KEY (`id`)
|
Loading…
Reference in New Issue
Block a user