107 lines
9.1 KiB
C#
107 lines
9.1 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Pf2eDataScrapper.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class ActionCategoryUnknown : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterDatabase()
|
|
.Annotation("Npgsql:Enum:action_category", "unknown,offensive,defensive,interaction,familiar,army_tactic,army_war_action,kingdom_activity,kingdom_feat,kingdom_feature")
|
|
.Annotation("Npgsql:Enum:action_type", "action,free,reaction,passive")
|
|
.Annotation("Npgsql:Enum:alias_type", "old,english,old_english,hobby,other")
|
|
.Annotation("Npgsql:Enum:ancestry_vision", "normal,low-light-vision,darkvision")
|
|
.Annotation("Npgsql:Enum:attribute_values", "any,str,dex,con,int,wis,cha")
|
|
.Annotation("Npgsql:Enum:class_progression_type", "entity,ancestry_feat,class_feat,general_feat,skill_feat,skill_increase")
|
|
.Annotation("Npgsql:Enum:condition_group", "unknown,senses,abilities,death,attitudes,detection")
|
|
.Annotation("Npgsql:Enum:deity_category", "deity,pantheon,covenant,philosophy")
|
|
.Annotation("Npgsql:Enum:deity_fonts", "none,heal,harm,any")
|
|
.Annotation("Npgsql:Enum:deity_sanctification", "holy,unholy,any")
|
|
.Annotation("Npgsql:Enum:entity_rarity", "common,uncommon,rare,unique")
|
|
.Annotation("Npgsql:Enum:entity_type", "unknown,action,ancestry,background,backpack,campaign_feature,class,condition,deity,feat,heritage,spell")
|
|
.Annotation("Npgsql:Enum:enum_size", "med,tiny")
|
|
.Annotation("Npgsql:Enum:feat_action_type", "passive,action,reaction,free")
|
|
.Annotation("Npgsql:Enum:feat_category", "ancestryfeature,classfeature,calling,class,skill,general,ancestry,bonus,deityboon,curse,pfsboon,campaign_feature")
|
|
.Annotation("Npgsql:Enum:size", "med,tiny")
|
|
.Annotation("Npgsql:Enum:spell_area_type", "burst,emanation,cone,line,square,cube,cylinder")
|
|
.Annotation("Npgsql:Enum:spell_damage_category", "persistent,splash")
|
|
.Annotation("Npgsql:Enum:spell_damage_kinds", "damage,healing,any")
|
|
.Annotation("Npgsql:Enum:training_stage", "untrained,trained,expert,master,legendary")
|
|
.Annotation("Npgsql:Enum:trait_type", "regular,tradition")
|
|
.OldAnnotation("Npgsql:Enum:action_category", "offensive,defensive,interaction,familiar,army_tactic,army_war_action,kingdom_activity,kingdom_feat,kingdom_feature")
|
|
.OldAnnotation("Npgsql:Enum:action_type", "action,free,reaction,passive")
|
|
.OldAnnotation("Npgsql:Enum:alias_type", "old,english,old_english,hobby,other")
|
|
.OldAnnotation("Npgsql:Enum:ancestry_vision", "normal,low-light-vision,darkvision")
|
|
.OldAnnotation("Npgsql:Enum:attribute_values", "any,str,dex,con,int,wis,cha")
|
|
.OldAnnotation("Npgsql:Enum:class_progression_type", "entity,ancestry_feat,class_feat,general_feat,skill_feat,skill_increase")
|
|
.OldAnnotation("Npgsql:Enum:condition_group", "unknown,senses,abilities,death,attitudes,detection")
|
|
.OldAnnotation("Npgsql:Enum:deity_category", "deity,pantheon,covenant,philosophy")
|
|
.OldAnnotation("Npgsql:Enum:deity_fonts", "none,heal,harm,any")
|
|
.OldAnnotation("Npgsql:Enum:deity_sanctification", "holy,unholy,any")
|
|
.OldAnnotation("Npgsql:Enum:entity_rarity", "common,uncommon,rare,unique")
|
|
.OldAnnotation("Npgsql:Enum:entity_type", "unknown,action,ancestry,background,backpack,campaign_feature,class,condition,deity,feat,heritage,spell")
|
|
.OldAnnotation("Npgsql:Enum:enum_size", "med,tiny")
|
|
.OldAnnotation("Npgsql:Enum:feat_action_type", "passive,action,reaction,free")
|
|
.OldAnnotation("Npgsql:Enum:feat_category", "ancestryfeature,classfeature,calling,class,skill,general,ancestry,bonus,deityboon,curse,pfsboon,campaign_feature")
|
|
.OldAnnotation("Npgsql:Enum:size", "med,tiny")
|
|
.OldAnnotation("Npgsql:Enum:spell_area_type", "burst,emanation,cone,line,square,cube,cylinder")
|
|
.OldAnnotation("Npgsql:Enum:spell_damage_category", "persistent,splash")
|
|
.OldAnnotation("Npgsql:Enum:spell_damage_kinds", "damage,healing,any")
|
|
.OldAnnotation("Npgsql:Enum:training_stage", "untrained,trained,expert,master,legendary")
|
|
.OldAnnotation("Npgsql:Enum:trait_type", "regular,tradition");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterDatabase()
|
|
.Annotation("Npgsql:Enum:action_category", "offensive,defensive,interaction,familiar,army_tactic,army_war_action,kingdom_activity,kingdom_feat,kingdom_feature")
|
|
.Annotation("Npgsql:Enum:action_type", "action,free,reaction,passive")
|
|
.Annotation("Npgsql:Enum:alias_type", "old,english,old_english,hobby,other")
|
|
.Annotation("Npgsql:Enum:ancestry_vision", "normal,low-light-vision,darkvision")
|
|
.Annotation("Npgsql:Enum:attribute_values", "any,str,dex,con,int,wis,cha")
|
|
.Annotation("Npgsql:Enum:class_progression_type", "entity,ancestry_feat,class_feat,general_feat,skill_feat,skill_increase")
|
|
.Annotation("Npgsql:Enum:condition_group", "unknown,senses,abilities,death,attitudes,detection")
|
|
.Annotation("Npgsql:Enum:deity_category", "deity,pantheon,covenant,philosophy")
|
|
.Annotation("Npgsql:Enum:deity_fonts", "none,heal,harm,any")
|
|
.Annotation("Npgsql:Enum:deity_sanctification", "holy,unholy,any")
|
|
.Annotation("Npgsql:Enum:entity_rarity", "common,uncommon,rare,unique")
|
|
.Annotation("Npgsql:Enum:entity_type", "unknown,action,ancestry,background,backpack,campaign_feature,class,condition,deity,feat,heritage,spell")
|
|
.Annotation("Npgsql:Enum:enum_size", "med,tiny")
|
|
.Annotation("Npgsql:Enum:feat_action_type", "passive,action,reaction,free")
|
|
.Annotation("Npgsql:Enum:feat_category", "ancestryfeature,classfeature,calling,class,skill,general,ancestry,bonus,deityboon,curse,pfsboon,campaign_feature")
|
|
.Annotation("Npgsql:Enum:size", "med,tiny")
|
|
.Annotation("Npgsql:Enum:spell_area_type", "burst,emanation,cone,line,square,cube,cylinder")
|
|
.Annotation("Npgsql:Enum:spell_damage_category", "persistent,splash")
|
|
.Annotation("Npgsql:Enum:spell_damage_kinds", "damage,healing,any")
|
|
.Annotation("Npgsql:Enum:training_stage", "untrained,trained,expert,master,legendary")
|
|
.Annotation("Npgsql:Enum:trait_type", "regular,tradition")
|
|
.OldAnnotation("Npgsql:Enum:action_category", "unknown,offensive,defensive,interaction,familiar,army_tactic,army_war_action,kingdom_activity,kingdom_feat,kingdom_feature")
|
|
.OldAnnotation("Npgsql:Enum:action_type", "action,free,reaction,passive")
|
|
.OldAnnotation("Npgsql:Enum:alias_type", "old,english,old_english,hobby,other")
|
|
.OldAnnotation("Npgsql:Enum:ancestry_vision", "normal,low-light-vision,darkvision")
|
|
.OldAnnotation("Npgsql:Enum:attribute_values", "any,str,dex,con,int,wis,cha")
|
|
.OldAnnotation("Npgsql:Enum:class_progression_type", "entity,ancestry_feat,class_feat,general_feat,skill_feat,skill_increase")
|
|
.OldAnnotation("Npgsql:Enum:condition_group", "unknown,senses,abilities,death,attitudes,detection")
|
|
.OldAnnotation("Npgsql:Enum:deity_category", "deity,pantheon,covenant,philosophy")
|
|
.OldAnnotation("Npgsql:Enum:deity_fonts", "none,heal,harm,any")
|
|
.OldAnnotation("Npgsql:Enum:deity_sanctification", "holy,unholy,any")
|
|
.OldAnnotation("Npgsql:Enum:entity_rarity", "common,uncommon,rare,unique")
|
|
.OldAnnotation("Npgsql:Enum:entity_type", "unknown,action,ancestry,background,backpack,campaign_feature,class,condition,deity,feat,heritage,spell")
|
|
.OldAnnotation("Npgsql:Enum:enum_size", "med,tiny")
|
|
.OldAnnotation("Npgsql:Enum:feat_action_type", "passive,action,reaction,free")
|
|
.OldAnnotation("Npgsql:Enum:feat_category", "ancestryfeature,classfeature,calling,class,skill,general,ancestry,bonus,deityboon,curse,pfsboon,campaign_feature")
|
|
.OldAnnotation("Npgsql:Enum:size", "med,tiny")
|
|
.OldAnnotation("Npgsql:Enum:spell_area_type", "burst,emanation,cone,line,square,cube,cylinder")
|
|
.OldAnnotation("Npgsql:Enum:spell_damage_category", "persistent,splash")
|
|
.OldAnnotation("Npgsql:Enum:spell_damage_kinds", "damage,healing,any")
|
|
.OldAnnotation("Npgsql:Enum:training_stage", "untrained,trained,expert,master,legendary")
|
|
.OldAnnotation("Npgsql:Enum:trait_type", "regular,tradition");
|
|
}
|
|
}
|
|
}
|