Welcome Guest, Not a member yet? Register   Sign In
Migrate from Myth/Auth to Shield
#1

Any suggestions about Migrate from Myth/Auth to Shield ?
Reply
#2

First off from looking at both Migration files it will not be easy, Shield breaks apart Myth Auth's Users
into smaller tables etc.

Best to export your database first and make a backup.

But I do not see this as working, there are to many differences between the 2 Auth Systems.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(03-02-2024, 10:50 PM)InsiteFX Wrote: First off from looking at both Migration files it will not be easy, Shield breaks apart Myth Auth's Users
into smaller tables etc.

Best to export your database first and make a backup.

But I do not see this as working, there are to many differences between the 2 Auth Systems.

what about a suggestion for migration fix like renaming common table? an example?
Reply
#4

The tables in Myth Auth and Shield are not the same tables.

Shield has better Security and more tables to handle it.

Like the password is no stored in the users table etc.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#5

It is no different from a normal system migration.
Compare the table definitions in both libraries and migrate the corresponding data to the corresponding tables in Shield.

The big difference is that Shield has a table for User Identities:
https://shield.codeigniter.com/getting_s...identities

Also, you need to update your app code to use Shield.

Castopod should have migrated, but it may not be very helpful to see the commit.
https://github.com/ad-aures/castopod/com...41bebd7e26
Reply




Theme © iAndrew 2016 - Forum software by © MyBB