-- phpMiniAdmin dump 1.9.170730
-- Datetime: 2022-09-06 08:40:02
-- Host: 10.10.10.102
-- Database: oe_aidimpact_ascii

/*!40030 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;

DROP TABLE IF EXISTS `importation`;
CREATE TABLE `importation` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date_import` datetime DEFAULT NULL,
  `filename` varchar(255) NOT NULL,
  `count` int NOT NULL,
  `last` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=ascii;

DROP TABLE IF EXISTS `importation_data_aidimpact`;
CREATE TABLE `importation_data_aidimpact` (
  `no_compte` varchar(30) DEFAULT NULL,
  `lib_compte` varchar(255) DEFAULT NULL,
  `code_JNL` varchar(2) DEFAULT NULL,
  `No_piece` varchar(10) DEFAULT NULL,
  `date_piece` date DEFAULT NULL,
  `lib_mouvement` varchar(50) DEFAULT NULL,
  `credit` varchar(20) DEFAULT NULL,
  `code_activite` varchar(10) DEFAULT NULL,
  `id` int NOT NULL,
  `debit` decimal(6,2) DEFAULT NULL,
  `checkmd5` char(32) DEFAULT NULL,
  KEY `id` (`id`),
  CONSTRAINT `importation_data_aidimpact_ibfk_1` FOREIGN KEY (`id`) REFERENCES `importation` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=ascii;

/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;


-- phpMiniAdmin dump end
