 -- 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,

-- Contenu de la table `abac_attributes`
--

INSERT INTO `abac_attributes` (`id`, `table_name`, `column_name`, `criteria_column`, `created_at`, `updated_at`, `name`) VALUES
(1, 'abac_test_user', 'age', 'id', '2015-08-19 11:03:38', '2015-08-19 11:03:38', 'Age'),
(2, 'abac_test_user', 'parent_nationality', 'id', '2015-08-19 11:03:38', '2015-08-19 11:03:38', 'Nationalité des Parents'),
(3, 'abac_test_user', 'has_done_japd', 'id', '2015-08-19 11:03:38', '2015-08-19 11:03:38', 'JAPD'),
(4, 'abac_test_user', 'has_driving_license', 'id', '2015-08-19 11:03:38', '2015-08-19 11:03:38', 'Permis de Conduire'),
(5, 'abac_test_vehicle', 'technical_review_date', 'id', '2015-08-19 11:03:38', '2015-08-19 11:03:38', 'Dernier Contrôle Technique'),
(6, 'abac_test_vehicle', 'manufacture_date', 'id', '2015-08-19 11:03:38', '2015-08-19 11:03:38', 'Date de sortie usine'),
(7, 'abac_test_vehicle', 'origin', 'id', '2015-08-19 11:03:38', '2015-08-19 11:03:38', 'Origine');

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


-- Structure de la table `abac_test_vehicle`
--

CREATE TABLE IF NOT EXISTS `abac_test_vehicle` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `brand` varchar(40) COLLATE utf8_unicode_ci NOT NULL,
