text: -- phpMyAdmin SQL Dump
  -- version 5.1.0
  -- https://www.phpmyadmin.net/
  --
  -- Gazdă: 127.0.0.1
  -- Timp de generare: iun. 17, 2021 la 08:50 PM
  -- Versiune server: 10.4.19-MariaDB
  -- Versiune PHP: 8.0.6
  
  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 */;
  
  --
  -- Bază de date: `skivi`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Structură tabel pentru tabel `users`
  --
  
  CREATE TABLE `users` (
    `user_id` int(11) NOT NULL,
    `user_name` varchar(100) NOT NULL,
    `user_email` varchar(100) NOT NULL,
    `user_password` varchar(100) NOT NULL,
    `admin` varchar(10) NOT NULL DEFAULT 'no',
    `profile_picture` varchar(150) DEFAULT 'default'
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  
  
  
  -- --------------------------------------------------------
  
  --
  -- Structură tabel pentru tabel `user_info`
  --
  
  CREATE TABLE `user_info` (
    `user_id` int(11) NOT NULL,
    `skill` varchar(100) NOT NULL,
    `course` varchar(100) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Eliminarea datelor din tabel `user_info`
  --
  
  
  
  --
  -- Indexuri pentru tabele eliminate
  --
  
  --
  -- Indexuri pentru tabele `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`user_id`);
  
  --
  -- Indexuri pentru tabele `user_info`
  --
  ALTER TABLE `user_info`
    ADD KEY `fkIdx_35` (`user_id`);
  
  --
  -- AUTO_INCREMENT pentru tabele eliminate
  --
  
  --
  -- AUTO_INCREMENT pentru tabele `users`
  --
  ALTER TABLE `users`
    MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
  
  --
  -- Constrângeri pentru tabele eliminate
  --
  
  --
  -- Constrângeri pentru tabele `user_info`
  --
  ALTER TABLE `user_info`
    ADD CONSTRAINT `FK_34` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`);
  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 */;
  