-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 13, 2026 at 02:52 PM
-- Wersja serwera: 10.4.32-MariaDB
-- Wersja PHP: 8.2.12

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: `atelier_20260227`
--

-- --------------------------------------------------------

--
-- Struktura tabeli dla tabeli `franchisee_shop`
--

CREATE TABLE `franchisee_shop` (
  `id_brand` int(11) NOT NULL,
  `id` int(11) NOT NULL,
  `representative_name` text NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `email_password` varchar(255) NOT NULL DEFAULT '',
  `street` varchar(255) NOT NULL,
  `street_num` varchar(10) NOT NULL,
  `city` varchar(255) NOT NULL,
  `zip` varchar(15) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `opening_hour` int(11) NOT NULL,
  `opening_minute` int(11) NOT NULL,
  `closing_hour` int(11) NOT NULL,
  `closing_minute` int(11) NOT NULL,
  `tax_number_prefixe` varchar(5) NOT NULL,
  `tax_number` varchar(255) NOT NULL DEFAULT '',
  `bank_account_number` varchar(255) NOT NULL,
  `bank_name` varchar(255) NOT NULL,
  `bank_swift` varchar(255) NOT NULL,
  `bank_iban` varchar(255) NOT NULL,
  `country_code` char(2) NOT NULL,
  `peppol_id` varchar(64) DEFAULT NULL,
  `peppol_verified` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Indeksy dla zrzutów tabel
--

--
-- Indeksy dla tabeli `franchisee_shop`
--
ALTER TABLE `franchisee_shop`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `franchisee_shop`
--
ALTER TABLE `franchisee_shop`
  MODIFY `id` int(11) 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 */;
