007_portfolio_scans.sql 751 B

12345678910111213141516171819
  1. -- Migration 007: Portfolio 3D Scans
  2. -- Create table for storing 3D scan bundles for the portfolio section
  3. CREATE TABLE IF NOT EXISTS `portfolio_scans` (
  4. `id` int(11) NOT NULL AUTO_INCREMENT,
  5. `title_en` varchar(255) NOT NULL,
  6. `title_ru` varchar(255) NOT NULL,
  7. `title_me` varchar(255) NOT NULL,
  8. `title_ua` varchar(255) NOT NULL,
  9. `description_en` text DEFAULT NULL,
  10. `description_ru` text DEFAULT NULL,
  11. `description_me` text DEFAULT NULL,
  12. `description_ua` text DEFAULT NULL,
  13. `folder_name` varchar(255) NOT NULL,
  14. `frames_count` int(11) DEFAULT 48,
  15. `is_public` tinyint(1) DEFAULT 1,
  16. `created_at` timestamp NULL DEFAULT current_timestamp(),
  17. PRIMARY KEY (`id`)
  18. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;