← All schemas
Schema Library

Laravel Database Schema Diagram

A fresh Laravel 11 application ships with a handful of framework tables created by the default migrations: users, password_reset_tokens, sessions, jobs, failed_jobs, cache, and cache_locks. This diagram shows the full default schema - the users table with password and remember_token columns, plus the sessions table that references users via a user_id foreign key.

Last updated: 2026-08-03

Tables
7
Core table
users
Framework
Laravel 11
Mini Map

Tables in the Laravel schema

ColumnTypeNullableKey
users
idbigintNoPK
namevarcharNo-
emailvarcharNo-
email_verified_attimestampYes-
passwordvarcharNo-
remember_tokenvarchar(100)Yes-
created_attimestampYes-
updated_attimestampYes-
password_reset_tokens
emailvarcharNoPK
tokenvarcharNo-
created_attimestampYes-
sessions
idvarcharNoPK
user_idbigintYes-
ip_addressvarchar(45)Yes-
user_agenttextYes-
payloadlongtextNo-
last_activityintegerNo-
jobs
idbigintNoPK
queuevarcharNo-
payloadlongtextNo-
attemptstinyintNo-
reserved_atintegerYes-
available_atintegerNo-
created_atintegerNo-
failed_jobs
idbigintNoPK
uuidvarcharNo-
connectiontextNo-
queuetextNo-
payloadlongtextNo-
exceptionlongtextNo-
failed_attimestampNo-
cache
keyvarcharNoPK
valuemediumtextNo-
expirationintegerNo-
cache_locks
keyvarcharNoPK
ownervarcharNo-
expirationintegerNo-

Frequently asked questions

What tables does a default Laravel installation have?

The default Laravel migrations create users, password_reset_tokens, sessions, jobs, failed_jobs, cache, and cache_locks tables.

Does the Laravel sessions table reference the users table?

Yes. The sessions table has a user_id foreign key column that references users.id, so you can look up which user owns each authenticated session.

Visualize your own database

Paste your PostgreSQL connection string and get an interactive ER diagram of your own schema in under 10 seconds. No signup required.

Try it free →