From 85ac6d25240c8fe8e4356cb65c34bce574ce32cd Mon Sep 17 00:00:00 2001 From: Juan Date: Mon, 24 Jan 2022 15:29:07 +0100 Subject: [PATCH] sql for apikey table --- b3-dev/api/api-php/apikey.sql | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 b3-dev/api/api-php/apikey.sql diff --git a/b3-dev/api/api-php/apikey.sql b/b3-dev/api/api-php/apikey.sql new file mode 100644 index 0000000..52acc28 --- /dev/null +++ b/b3-dev/api/api-php/apikey.sql @@ -0,0 +1,40 @@ +-- phpMyAdmin SQL Dump +-- version 5.1.1 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Jan 24, 2022 at 03:27 PM +-- Server version: 10.4.22-MariaDB +-- PHP Version: 7.4.27 + +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: `apib3` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `apikey` +-- + +DROP TABLE IF EXISTS `apikey`; +CREATE TABLE IF NOT EXISTS `apikey` ( + `user_id` int(11) NOT NULL, + `api_key` varchar(32) NOT NULL, + PRIMARY KEY (`api_key`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +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 */;