Welcome Guest, Not a member yet? Register   Sign In
Shield installation
#4

(02-05-2024, 03:14 AM)Karstico Wrote: When the migration is executed, shouldn't the tables have been created?


Yes.

Code:
$ php spark migrate:status

CodeIgniter v4.4.3 Command Line Tool - Server Time: 2024-02-05 10:37:13 UTC+00:00

+----------------------+-------------------+---------------------+---------+---------------------+-------+
| Namespace            | Version          | Filename            | Group  | Migrated On        | Batch |
+----------------------+-------------------+---------------------+---------+---------------------+-------+
| CodeIgniter\Shield  | 2020-12-28-223112 | create_auth_tables  | default | 2023-12-27 11:52:21 | 1    |
| CodeIgniter\Settings | 2021-07-04-041948 | CreateSettingsTable | default | 2023-12-27 11:52:21 | 1    |
| CodeIgniter\Settings | 2021-11-14-143905 | AddContextColumn    | default | 2023-12-27 11:52:21 | 1    |
+----------------------+-------------------+---------------------+---------+---------------------+-------+

Code:
$ php spark db:table --show

CodeIgniter v4.4.3 Command Line Tool - Server Time: 2024-02-05 10:38:22 UTC+00:00

The following is a list of the names of all database tables:

+----+------------------------+-------------+---------------+
| ID | Table Name            | Num of Rows | Num of Fields |
+----+------------------------+-------------+---------------+
| 1  | migrations            | 3          | 7            |
| 2  | users                  | 2          | 9            |
| 3  | auth_identities        | 3          | 12            |
| 4  | auth_logins            | 0          | 8            |
| 5  | auth_token_logins      | 0          | 8            |
| 6  | auth_remember_tokens  | 0          | 7            |
| 7  | auth_groups_users      | 2          | 4            |
| 8  | auth_permissions_users | 0          | 4            |
| 9  | settings              | 0          | 8            |
+----+------------------------+-------------+---------------+
Reply


Messages In This Thread
Shield installation - by Karstico - 02-05-2024, 02:00 AM
RE: Shield installation - by kenjis - 02-05-2024, 02:43 AM
RE: Shield installation - by Karstico - 02-05-2024, 03:14 AM
RE: Shield installation - by kenjis - 02-05-2024, 03:38 AM
RE: Shield installation - by Karstico - 03-15-2024, 12:31 AM
RE: Shield installation - by kenjis - 03-15-2024, 12:39 AM
RE: Shield installation - by Karstico - 03-15-2024, 12:59 AM
RE: Shield installation - by kenjis - 03-15-2024, 01:06 AM
RE: Shield installation - by Karstico - 03-15-2024, 01:09 AM
RE: Shield installation - by kenjis - 03-15-2024, 02:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB