DirektiveDesDons/BancaDati.sql

30 lines
748 B
MySQL
Raw Normal View History

2022-12-15 14:47:47 +01:00
-- 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`)