Init & add additonal files

main
floxx2112 2 years ago
commit bb6c9d8497
  1. 15
      AssistBDD.ps1
  2. 76
      Dump20230313.sql

@ -0,0 +1,15 @@
$backendPath = $PSScriptRoot + "\AssistDB_V2_Back"
$frontendPath = $PSScriptRoot + "\AssistDB_V2_Front"
Start-Job -Name Backend -Args $backendPath { param($backendPath) Set-Location $backendPath; mvn spring-boot:run }
Start-Job -Name Frontend -Args $frontendPath{ param($frontendPath) Set-Location $frontendPath; ng serve }
$text = 'Tapez "stop" pour stopper les applications'
$FromInput = Read-Host $text
while ($FromInput -ne 'stop') {
$FromInput = Read-Host $text
}
if($FromInput -eq 'stop'){
Get-Job -Name Backend | Stop-Job
Get-Job -Name Backend | Remove-Job
Get-Job -Name Frontend | Stop-Job
Get-Job -Name Frontend | Remove-Job
}

@ -0,0 +1,76 @@
-- MySQL dump 10.13 Distrib 8.0.32, for Win64 (x86_64)
--
-- Host: localhost Database: prudencetest
-- ------------------------------------------------------
-- Server version 8.0.32
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `informations_column`
--
DROP TABLE IF EXISTS `informations_column`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `informations_column` (
`id` int NOT NULL AUTO_INCREMENT,
`name_column` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`length_column` int DEFAULT NULL,
`column_text` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=174 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `informations_table`
--
DROP TABLE IF EXISTS `informations_table`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `informations_table` (
`id` int NOT NULL AUTO_INCREMENT,
`name_table` varchar(100) DEFAULT NULL,
`name_schema` varchar(100) DEFAULT NULL,
`table_text` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `link_informations`
--
DROP TABLE IF EXISTS `link_informations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `link_informations` (
`id` int NOT NULL AUTO_INCREMENT,
`name_table` varchar(100) DEFAULT NULL,
`name_schema` varchar(100) DEFAULT NULL,
`column_id` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=353 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2023-03-13 10:44:57
Loading…
Cancel
Save