ページ · Laravilt
Auth Migrations
Database migrations for authentication features
Run the auth migrations to create required database tables.
Installation
bash
Tables Created
| Table | Purpose |
|---|---|
social_accounts | OAuth provider connections |
webauthn_credentials | Passkey registrations |
two_factor_codes | Temporary 2FA codes |
otp_codes | One-time passwords |
personal_access_tokens | API tokens (Sanctum) |
User Table Columns
The migration adds these columns to the users table:
sql
Social Accounts Table
php
WebAuthn Credentials Table
php
Related
- User Model - Setup user model
- Configuration - Auth configuration