 ENGINE = InnoDB;
 
 
--- -----------------------------------------------------
--- Table `camelus`.`admins`
--- -----------------------------------------------------
-CREATE TABLE IF NOT EXISTS `camelus`.`admins` (
-  `id` BIGINT NOT NULL AUTO_INCREMENT,
-  `login` VARCHAR(45) NOT NULL,
-  `password` VARCHAR(45) NOT NULL,
-  `fname` VARCHAR(45) NOT NULL,
-  `lname` VARCHAR(45) NOT NULL,
-  `hire_date` VARCHAR(45) NOT NULL,
-  `sin` INT(9) NOT NULL,
-  `superadmin` TINYINT(1) NULL DEFAULT 0,
-  `deleted` TINYINT(1) NULL DEFAULT 0,
-  PRIMARY KEY (`id`))
-ENGINE = InnoDB;
+
 
 
 SET SQL_MODE=@OLD_SQL_MODE;

  `category` VARCHAR(45) NULL,
  `img_url` VARCHAR(45) NULL,
  `created_at` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` TIMESTAMP NULL DEFAULT 'CURRENT_TIMESTAMP',
  `deleted` TINYINT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `FK_PRODUCTS_UNITS_ID_idx` (`unit_id` ASC),

-- -----------------------------------------------------
CREATE SCHEMA IF NOT EXISTS `camelus` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ;
USE `camelus` ;
-- -----------------------------------------------------
-- Table `camelus`.`admins`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `camelus`.`admins` (
  `id` BIGINT NOT NULL AUTO_INCREMENT,
  `login` VARCHAR(45) NOT NULL,
  `password` VARCHAR(45) NOT NULL,
  `fname` VARCHAR(45) NOT NULL,
  `lname` VARCHAR(45) NOT NULL,
  `hire_date` VARCHAR(45) NOT NULL,
  `sin` INT(9) NOT NULL,
  `superadmin` TINYINT(1) NULL DEFAULT 0,
  `deleted` TINYINT(1) NULL DEFAULT 0,
  PRIMARY KEY (`id`))
ENGINE = InnoDB;


-- -----------------------------------------------------
-- Table `camelus`.`units`
