Skip to content

Commit

Permalink
First Pass on EF Schema Export (#68) (#69)
Browse files Browse the repository at this point in the history
* First Pass on EF Schema Export

* Update .gitignore

* First Pass of EF Schema Export

* Update README.md

* Updated Export

Smarter filtering of object id to wcid matches.. not perfect

* base updates

* Update Export

* more updates

* moar updates

* set fixed date

* Hook fixes and removing players as statics
  • Loading branch information
LtRipley36706 authored Feb 10, 2019
1 parent 81b9644 commit c706dea
Show file tree
Hide file tree
Showing 58,991 changed files with 2,348,024 additions and 2,574,692 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
## ACE-World Specific
#################
Database/compiled/*.sql
Database/combined/*.sql
Database/3-Core/combined/*.sql
Database/10-Overwrites/dereth-museum/combined/*.sql


#################
## Eclipse
Expand Down Expand Up @@ -149,7 +147,6 @@ csx
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
Expand Down Expand Up @@ -222,3 +219,4 @@ pip-log.txt

#Mr Developer
.mr.developer.cfg
Database/compiled/password.txt
1,693 changes: 931 additions & 762 deletions Database/1-Base/WorldBase.sql

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion Database/10-Overwrites/dereth-museum/combined/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions Database/10-Overwrites/dereth-museum/combined/combine.bat

This file was deleted.

Binary file not shown.
29 changes: 0 additions & 29 deletions Database/2-BaseUpdates/001-AddGeneratorProfileTable.sql

This file was deleted.

6 changes: 0 additions & 6 deletions Database/2-BaseUpdates/003-AddLinkColumnsToLandblockTable.sql

This file was deleted.

39 changes: 39 additions & 0 deletions Database/2-BaseUpdates/2019-01-16-00-Spell_Table_Changes.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
USE `ace_world`;

ALTER TABLE `spell`
DROP COLUMN `portal_Lifetime`,
DROP COLUMN `degrade_Limit`,
DROP COLUMN `degrade_Modifier`,
DROP COLUMN `duration`,
DROP COLUMN `mana_Mod`,
DROP COLUMN `non_Component_Target_Type`,
DROP COLUMN `display_Order`,
DROP COLUMN `recovery_Amount`,
DROP COLUMN `recovery_Interval`,
DROP COLUMN `fizzle_Effect`,
DROP COLUMN `target_Effect`,
DROP COLUMN `caster_Effect`,
DROP COLUMN `spell_Formula_Comp_8_Component_Id`,
DROP COLUMN `spell_Formula_Comp_7_Component_Id`,
DROP COLUMN `spell_Formula_Comp_6_Component_Id`,
DROP COLUMN `spell_Formula_Comp_5_Component_Id`,
DROP COLUMN `spell_Formula_Comp_4_Component_Id`,
DROP COLUMN `spell_Formula_Comp_3_Component_Id`,
DROP COLUMN `spell_Formula_Comp_2_Component_Id`,
DROP COLUMN `spell_Formula_Comp_1_Component_Id`,
DROP COLUMN `meta_Spell_Id`,
DROP COLUMN `meta_Spell_Type`,
DROP COLUMN `component_Loss`,
DROP COLUMN `formula_Version`,
DROP COLUMN `economy_Mod`,
DROP COLUMN `power`,
DROP COLUMN `range_Mod`,
DROP COLUMN `range_Constant`,
DROP COLUMN `mana`,
DROP COLUMN `bitfield`,
DROP COLUMN `category`,
DROP COLUMN `icon_Id`,
DROP COLUMN `school`,
DROP COLUMN `description`,
DROP INDEX `metaspell_id_uidx` ;
;
19 changes: 19 additions & 0 deletions Database/2-BaseUpdates/2019-01-16-01-Recipe_Mods_Table_Changes.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
USE `ace_world`;

ALTER TABLE `recipe_mods_bool`
CHANGE COLUMN `unknown_1` `source` INT(10) NOT NULL ;

ALTER TABLE `recipe_mods_d_i_d`
CHANGE COLUMN `unknown_1` `source` INT(10) NOT NULL ;

ALTER TABLE `recipe_mods_float`
CHANGE COLUMN `unknown_1` `source` INT(10) NOT NULL ;

ALTER TABLE `recipe_mods_i_i_d`
CHANGE COLUMN `unknown_1` `source` INT(10) NOT NULL ;

ALTER TABLE `recipe_mods_int`
CHANGE COLUMN `unknown_1` `source` INT(10) NOT NULL ;

ALTER TABLE `recipe_mods_string`
CHANGE COLUMN `unknown_1` `source` INT(10) NOT NULL ;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
USE `ace_world`;

ALTER TABLE `weenie_properties_emote_action`
CHANGE COLUMN `display` `display` BIT(1) NULL DEFAULT NULL ;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
USE `ace_world`;

ALTER TABLE `spell`
ADD COLUMN `dot_Duration` DOUBLE NULL DEFAULT NULL AFTER `number_Variance`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
USE `ace_world`;

ALTER TABLE `landblock_instance`
DROP FOREIGN KEY `wcid_instance`;
ALTER TABLE `landblock_instance`
DROP INDEX `wcid_instance` ;
;
7 changes: 7 additions & 0 deletions Database/2-BaseUpdates/2019-02-02-01-Drop_FK_On_POI.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
USE `ace_world`;

ALTER TABLE `points_of_interest`
DROP FOREIGN KEY `wcid_poi`;
ALTER TABLE `points_of_interest`
DROP INDEX `wcid_poi` ;
;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
USE `ace_world`;

ALTER TABLE `landblock_instance_link`
ADD UNIQUE INDEX `parent_child_uidx` (`parent_GUID` ASC, `child_GUID` ASC),
ADD INDEX `child_idx` (`child_GUID` ASC),
DROP INDEX `parent_child_guuidx` ;
;
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
USE `ace_world`;

ALTER TABLE `cook_book`
ADD COLUMN `last_Modified` DATETIME NOT NULL DEFAULT NOW() ON UPDATE NOW() AFTER `target_W_C_I_D`;

ALTER TABLE `encounter`
ADD COLUMN `last_Modified` DATETIME NOT NULL DEFAULT NOW() ON UPDATE NOW() AFTER `cell_Y`;

ALTER TABLE `event`
ADD COLUMN `last_Modified` DATETIME NOT NULL DEFAULT NOW() ON UPDATE NOW() AFTER `state`;

ALTER TABLE `house_portal`
ADD COLUMN `last_Modified` DATETIME NOT NULL DEFAULT NOW() ON UPDATE NOW() AFTER `angles_Z`;

ALTER TABLE `landblock_instance`
ADD COLUMN `last_Modified` DATETIME NOT NULL DEFAULT NOW() ON UPDATE NOW() AFTER `is_Link_Child`;

ALTER TABLE `landblock_instance_link`
ADD COLUMN `last_Modified` DATETIME NOT NULL DEFAULT NOW() ON UPDATE NOW() AFTER `child_GUID`;

ALTER TABLE `points_of_interest`
ADD COLUMN `last_Modified` DATETIME NOT NULL DEFAULT NOW() ON UPDATE NOW() AFTER `weenie_Class_Id`;

ALTER TABLE `quest`
ADD COLUMN `last_Modified` DATETIME NOT NULL DEFAULT NOW() ON UPDATE NOW() AFTER `message`;

ALTER TABLE `recipe`
ADD COLUMN `last_Modified` DATETIME NOT NULL DEFAULT NOW() ON UPDATE NOW() AFTER `data_Id`;

ALTER TABLE `spell`
ADD COLUMN `last_Modified` DATETIME NOT NULL DEFAULT NOW() ON UPDATE NOW() AFTER `dot_Duration`;

ALTER TABLE `treasure_death`
ADD COLUMN `last_Modified` DATETIME NOT NULL DEFAULT NOW() ON UPDATE NOW() AFTER `mundane_Item_Type_Selection_Chances`;

ALTER TABLE `treasure_wielded`
ADD COLUMN `last_Modified` DATETIME NOT NULL DEFAULT NOW() ON UPDATE NOW() AFTER `unknown_12`;

ALTER TABLE `weenie`
ADD COLUMN `last_Modified` DATETIME NOT NULL DEFAULT NOW() ON UPDATE NOW() AFTER `type`;
34 changes: 0 additions & 34 deletions Database/3-Core/000-PrepDatabase.sql

This file was deleted.

Loading

0 comments on commit c706dea

Please sign in to comment.