 (2, 'Fiat', 'Stilo', '2008-08-19 11:03:38', '2004-08-19 11:03:38', 'IT', 'diesel', 'C'),
 (3, 'Alpha Roméo', 'Mito', '2014-08-19 11:03:38', '2013-08-19 11:03:38', 'FR', 'gasoline', 'D'),
 (4, 'Fiat', 'Punto', '2015-08-19 11:03:38', '2010-08-19 11:03:38', 'FR', 'diesel', 'B');
+
+--
+-- Contraintes pour les tables exportées
+--
+
+--
+-- Contraintes pour la table `abac_attributes`
+--
+ALTER TABLE `abac_attributes`
+  ADD CONSTRAINT `attributes_data` FOREIGN KEY (`id`) REFERENCES `abac_attributes_data` (`id`) ON DELETE CASCADE;
+
+--
+-- Contraintes pour la table `abac_environment_attributes`
+--
+ALTER TABLE `abac_environment_attributes`
+  ADD CONSTRAINT `environment_attributes_data` FOREIGN KEY (`id`) REFERENCES `abac_attributes_data` (`id`) ON DELETE CASCADE;
+

-- Structure de la table `abac_policy_rules_attributes`
--

DROP TABLE IF EXISTS `abac_policy_rules_attributes`;
CREATE TABLE IF NOT EXISTS `abac_policy_rules_attributes` (
  `policy_rule_id` int(11) NOT NULL,
  `attribute_id` int(11) NOT NULL,


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

DROP TABLE IF EXISTS `abac_test_vehicle`;
DROP TABLE IF EXISTS `abac_policy_rules`;
DROP TABLE IF EXISTS `abac_policy_rules_attributes`;
DROP TABLE IF EXISTS `abac_environment_attributes`;
DROP TABLE IF EXISTS `abac_attributes`;
DROP TABLE IF EXISTS `abac_attributes_data`;
DROP TABLE IF EXISTS `abac_test_user`;
--
-- Structure de la table `abac_policy_rules`
--
CREATE TABLE IF NOT EXISTS `abac_policy_rules` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(45) COLLATE utf8_unicode_ci NOT NULL,
