84 lines
2.1 KiB
MySQL
84 lines
2.1 KiB
MySQL
|
-- phpMyAdmin SQL Dump
|
||
|
-- version 5.1.1deb5ubuntu1
|
||
|
-- https://www.phpmyadmin.net/
|
||
|
--
|
||
|
-- Host: localhost:3306
|
||
|
-- Generation Time: May 11, 2024 at 02:57 PM
|
||
|
-- Server version: 8.0.36-0ubuntu0.22.04.1
|
||
|
-- PHP Version: 8.0.28
|
||
|
|
||
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||
|
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: `foodapp`
|
||
|
--
|
||
|
|
||
|
-- --------------------------------------------------------
|
||
|
|
||
|
--
|
||
|
-- Table structure for table `FoodItems`
|
||
|
--
|
||
|
|
||
|
CREATE TABLE `FoodItems` (
|
||
|
`Id` int NOT NULL,
|
||
|
`Name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
|
`Description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||
|
|
||
|
-- --------------------------------------------------------
|
||
|
|
||
|
--
|
||
|
-- Table structure for table `__EFMigrationsHistory`
|
||
|
--
|
||
|
|
||
|
CREATE TABLE `__EFMigrationsHistory` (
|
||
|
`MigrationId` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
|
`ProductVersion` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||
|
|
||
|
--
|
||
|
-- Dumping data for table `__EFMigrationsHistory`
|
||
|
--
|
||
|
|
||
|
INSERT INTO `__EFMigrationsHistory` (`MigrationId`, `ProductVersion`) VALUES
|
||
|
('20240511061657_AddFoodItem', '8.0.4');
|
||
|
|
||
|
--
|
||
|
-- Indexes for dumped tables
|
||
|
--
|
||
|
|
||
|
--
|
||
|
-- Indexes for table `FoodItems`
|
||
|
--
|
||
|
ALTER TABLE `FoodItems`
|
||
|
ADD PRIMARY KEY (`Id`);
|
||
|
|
||
|
--
|
||
|
-- Indexes for table `__EFMigrationsHistory`
|
||
|
--
|
||
|
ALTER TABLE `__EFMigrationsHistory`
|
||
|
ADD PRIMARY KEY (`MigrationId`);
|
||
|
|
||
|
--
|
||
|
-- AUTO_INCREMENT for dumped tables
|
||
|
--
|
||
|
|
||
|
--
|
||
|
-- AUTO_INCREMENT for table `FoodItems`
|
||
|
--
|
||
|
ALTER TABLE `FoodItems`
|
||
|
MODIFY `Id` int NOT NULL AUTO_INCREMENT;
|
||
|
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 */;
|