- [API] Added getSchool, getSchools, and addSchools

This commit is contained in:
Alexis
2020-05-24 23:51:17 +02:00
parent df7ee9add4
commit af7e6ff701
6 changed files with 151 additions and 45 deletions

View File

@@ -1,6 +1,6 @@
DROP DATABASE IF EXISTS spellsaurus;
CREATE DATABASE spellsaurus CHARACTER SET utf8 COLLATE utf8_bin;
USE spellsaurus;
DROP DATABASE IF EXISTS auracle;
CREATE DATABASE auracle CHARACTER SET utf8 COLLATE utf8_bin;
USE auracle;
/* ==== PRIMARY TABLES ==== */

View File

@@ -1,5 +1,5 @@
SET NAMES utf8;
USE spellsaurus;
USE auracle;
-- META SCHOOLS
INSERT INTO `meta_school` (name, description) VALUES
@@ -219,6 +219,7 @@ INSERT INTO `variable` (description) VALUES
/*
SCHEMA
(id_spell, id_school),
*/
DELIMITER $$