Skip to content

Commit 149581b

Browse files
authored
Merge pull request #317 from kenjis/remove-auth_access_tokens-table
fix: remove auth_access_tokens table
2 parents a8eb256 + fff8845 commit 149581b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ in all future requests.
193193
Using access tokens requires that you either use/extend `CodeIgniter\Shield\Models\UserModel` or
194194
use the `CodeIgniter\Shield\Authentication\Traits\HasAccessTokens` on your own user model. This trait
195195
provides all of the custom methods needed to implement access tokens in your application. The necessary
196-
database table, `auth_access_tokens`, is created in Shield's only migration class, which must be ran
196+
database table, `auth_identities`, is created in Shield's only migration class, which must be run
197197
before first using any of the features of Shield.
198198

199199
### Generating Access Tokens

src/Database/Migrations/2020-12-28-223112_create_auth_tables.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ public function down(): void
140140
$this->forge->dropTable('auth_logins', true);
141141
$this->forge->dropTable('auth_token_logins', true);
142142
$this->forge->dropTable('auth_remember_tokens', true);
143-
$this->forge->dropTable('auth_access_tokens', true);
144143
$this->forge->dropTable('auth_identities', true);
145144
$this->forge->dropTable('auth_groups_users', true);
146145
$this->forge->dropTable('auth_permissions_users', true);

0 commit comments

Comments
 (0)