   `don_vi_tinh` varchar(250) DEFAULT NULL,
   PRIMARY KEY (`id_don_vi_tinh`),
   UNIQUE KEY `don_vi_tinh` (`don_vi_tinh`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
 
 -- Dumping data for table nha_sach.don_vi_tinh: ~0 rows (approximately)
 /*!40000 ALTER TABLE `don_vi_tinh` DISABLE KEYS */;
+INSERT INTO `don_vi_tinh` (`id_don_vi_tinh`, `don_vi_tinh`) VALUES
+	(1, 'Cái');
 /*!40000 ALTER TABLE `don_vi_tinh` ENABLE KEYS */;
 
 

  `state` int(11) NOT NULL,
  PRIMARY KEY (`id_barcode`),
  UNIQUE KEY `ten_barcode` (`ten_barcode`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;

-- Dumping data for table nha_sach.barcode: ~0 rows (approximately)
/*!40000 ALTER TABLE `barcode` DISABLE KEYS */;
/*!40000 ALTER TABLE `barcode` ENABLE KEYS */;



  KEY `fk_phieuchi_congno` (`id_cong_no`),
  CONSTRAINT `FK_phieu_chi_cong_no_nha_cung_cap` FOREIGN KEY (`id_cong_no`) REFERENCES `cong_no_nha_cung_cap` (`id_cong_no`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_phieu_chi_user` FOREIGN KEY (`id_user`) REFERENCES `user` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Dumping data for table nha_sach.phieu_chi: ~0 rows (approximately)
/*!40000 ALTER TABLE `phieu_chi` DISABLE KEYS */;
