Welcome Guest, Not a member yet? Register   Sign In
Codeigniter Shield creates strange tables
#1

Hi, I just created my first project in CodeIgnitier 4. I've been programming with Codeigniter 3 for 8 years. In the Codeigniter Shield documentation, it says that when you run
Code:
php spark shield:setup
, it creates the tables: ‘users’, ‘auth_identities’, ‘auth_logins’, ‘auth_token_logins’, ‘auth_remember_tokens’, ‘auth_groups_users’ and ‘auth_permissions_users’.

However, it creates me: ‘groups’, ‘login_attempts’, ‘migrations’, ‘users’ and ‘users_groups’.

What is going on, which one is correct?
Reply
#2

If you look in the app/Database/Migrations/0000_Migration_file.php

you can see the tables it creates.
What did you Try? What did you Get? What did you Expect?

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

(11-20-2024, 10:44 PM)InsiteFX Wrote: If you look in the app/Database/Migrations/0000_Migration_file.php

you can see the tables it creates.

Thanks for the answer. I have looked in both migrations and seeds, and both folders are empty in the newly created project. :/
Reply
#4

To properly investigate the issue, we would need more information. Please provide the following details so we can assist you better:

Database: Which database are you using? For example, MySQL, PostgreSQL, or SQLite?
CodeIgniter Version: Which version of CodeIgniter 4 are you using?
Shield Version: The exact version of Shield being used in your project.
PHP Version: Which version of PHP are you using?
With this information, we’ll be able to investigate the issue more thoroughly.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB