Roxayl / mondegc

Le site du Monde de Génération City, dédié aux jeux de construction de ville et au jeu de rôle entre nations.
https://www.generation-city.com/monde/
Other
2 stars 2 forks source link

Renomme le namespace App\ en Roxayl\MondeGC\ #15

Closed Roxayl closed 1 year ago

Roxayl commented 1 year ago

Il faudra exécuter ces requêtes sur la prod :

UPDATE `chapter_entries` SET roleplayable_type = 'Roxayl\\MondeGC\\Models\\Organisation' WHERE roleplayable_type = 'App\\Models\\Organisation';
UPDATE `chapter_entries` SET roleplayable_type = 'Roxayl\\MondeGC\\Models\\Pays' WHERE roleplayable_type = 'App\\Models\\Pays';
UPDATE `chapter_entries` SET roleplayable_type = 'Roxayl\\MondeGC\\Models\\Ville' WHERE roleplayable_type = 'App\\Models\\Ville';
UPDATE `chapter_resourceable` SET resourceable_type = 'Roxayl\\MondeGC\\Models\\Pays' WHERE resourceable_type = 'App\\Models\\Pays';
UPDATE `chapter_resourceable` SET resourceable_type = 'Roxayl\\MondeGC\\Models\\Ville' WHERE resourceable_type = 'App\\Models\\Ville';
UPDATE `discord_notifications` SET type = 'Roxayl\\MondeGC\\Jobs\\Discord\\NotifyCreatedProposal' WHERE type = 'App\\Jobs\\Discord\\NotifyCreatedProposal';
UPDATE `discord_notifications` SET type = 'Roxayl\\MondeGC\\Jobs\\Discord\\NotifyVotingProposal' WHERE type = 'App\\Jobs\\Discord\\NotifyVotingProposal';
UPDATE `discord_notifications` SET type = 'Roxayl\\MondeGC\\Jobs\\Discord\\NotifyFinishedProposal' WHERE type = 'App\\Jobs\\Discord\\NotifyFinishedProposal';
UPDATE `influence` SET influencable_type = 'Roxayl\\MondeGC\\Models\\ChapterResourceable' WHERE influencable_type = 'App\\Models\\ChapterResourceable';
UPDATE `influence` SET influencable_type = 'Roxayl\\MondeGC\\Models\\Infrastructure' WHERE influencable_type = 'App\\Models\\Infrastructure';
UPDATE `influence` SET influencable_type = 'Roxayl\\MondeGC\\Models\\Managers\\PaysMapManager' WHERE influencable_type = 'App\\Models\\Managers\\PaysMapManager';
UPDATE `influence` SET influencable_type = 'Roxayl\\MondeGC\\Models\\Patrimoine' WHERE influencable_type = 'App\\Models\\Patrimoine';
UPDATE `infrastructures` SET infrastructurable_type = 'Roxayl\\MondeGC\\Models\\Ville' WHERE infrastructurable_type = 'App\\Models\\Ville';
UPDATE `infrastructures` SET infrastructurable_type = 'Roxayl\\MondeGC\\Models\\Pays' WHERE infrastructurable_type = 'App\\Models\\Pays';
UPDATE `infrastructures` SET infrastructurable_type = 'Roxayl\\MondeGC\\Models\\Organisation' WHERE infrastructurable_type = 'App\\Models\\Organisation';
UPDATE `notifications` SET type = 'Roxayl\\MondeGC\\Notifications\\OrganisationMemberPermissionChanged' WHERE type = 'App\\Notifications\\OrganisationMemberPermissionChanged';
UPDATE `notifications` SET type = 'Roxayl\\MondeGC\\Notifications\\OrganisationMemberJoined' WHERE type = 'App\\Notifications\\OrganisationMemberJoined';
UPDATE `notifications` SET type = 'Roxayl\\MondeGC\\Notifications\\OrganisationMemberInvited' WHERE type = 'App\\Notifications\\OrganisationMemberInvited';
UPDATE `notifications` SET type = 'Roxayl\\MondeGC\\Notifications\\OrganisationTypeMigrated' WHERE type = 'App\\Notifications\\OrganisationTypeMigrated';
UPDATE `notifications` SET type = 'Roxayl\\MondeGC\\Notifications\\InfrastructureJudged' WHERE type = 'App\\Notifications\\InfrastructureJudged';
UPDATE `notifications` SET type = 'Roxayl\\MondeGC\\Notifications\\PaysRegistered' WHERE type = 'App\\Notifications\\PaysRegistered';
UPDATE `notifications` SET type = 'Roxayl\\MondeGC\\Notifications\\OrganisationMemberQuit' WHERE type = 'App\\Notifications\\OrganisationMemberQuit';
UPDATE `resource_history` SET resourceable_type = 'Roxayl\\MondeGC\\Models\\Organisation' WHERE resourceable_type = 'App\\Models\\Organisation';
UPDATE `resource_history` SET resourceable_type = 'Roxayl\\MondeGC\\Models\\Pays' WHERE resourceable_type = 'App\\Models\\Pays';
UPDATE `resource_history` SET resourceable_type = 'Roxayl\\MondeGC\\Models\\Ville' WHERE resourceable_type = 'App\\Models\\Ville';
UPDATE `roleplay_organizers` SET organizer_type = 'Roxayl\\MondeGC\\Models\\Pays' WHERE organizer_type = 'App\\Models\\Pays';
UPDATE `roleplay_organizers` SET organizer_type = 'Roxayl\\MondeGC\\Models\\Organisation' WHERE organizer_type = 'App\\Models\\Organisation';
UPDATE `roleplay_organizers` SET organizer_type = 'Roxayl\\MondeGC\\Models\\Ville' WHERE organizer_type = 'App\\Models\\Ville';
UPDATE `versions` SET versionable_type = 'Roxayl\\MondeGC\\Models\\Chapter' WHERE versionable_type = 'App\\Models\\Chapter';