text: -- phpMyAdmin SQL Dump
  -- version 5.0.2
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Generation Time: May 10, 2021 at 05:49 AM
  -- Server version: 10.4.13-MariaDB
  -- PHP Version: 7.4.7
  
  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: `terminaltrade`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `terminal_logs`
  --
  
  CREATE TABLE `terminal_logs` (
    `id` int(10) UNSIGNED NOT NULL,
    `token` varchar(100) CHARACTER SET utf8 NOT NULL,
    `pair` varchar(10) CHARACTER SET utf8 NOT NULL,
    `type` varchar(10) CHARACTER SET utf8 NOT NULL,
    `side` varchar(10) CHARACTER SET utf8 NOT NULL,
    `price` varchar(21) CHARACTER SET utf8 NOT NULL,
    `amount` varchar(21) CHARACTER SET utf8 NOT NULL,
    `leverage` varchar(3) NOT NULL,
    `margin` varchar(8) CHARACTER SET utf8 NOT NULL,
    `date` varchar(25) CHARACTER SET utf8 NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  CREATE TABLE `users` (
    `id` int(10) UNSIGNED NOT NULL,
    `email` varchar(40) CHARACTER SET utf8 NOT NULL,
    `password` varchar(40) CHARACTER SET utf8 NOT NULL,
    `apikey` varchar(65) CHARACTER SET utf8 NOT NULL,
    `secretkey` varchar(65) CHARACTER SET utf8 NOT NULL,
    `token` varchar(100) CHARACTER SET utf8 NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `terminal_logs`
  --
  ALTER TABLE `terminal_logs`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `terminal_logs`
  --
  ALTER TABLE `terminal_logs`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `users`
  --
  ALTER TABLE `users`
    MODIFY `id` int(10) UNSIGNED 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 */;
  