Files
go-no-go/database/schema.md
2026-02-03 07:30:06 +01:00

7.0 KiB

Database Schema Documentation

Generated: 2026-02-03 05:38:33 Database: go-no-go Total Tables: 13

Table of Contents


action_events

Field Type Null Key Default Extra Foreign Key
id bigint unsigned NO PRI NULL auto_increment
batch_id char(36) NO MUL NULL
user_id bigint unsigned NO MUL NULL
name varchar(255) NO NULL
actionable_type varchar(255) NO MUL NULL
actionable_id bigint unsigned NO NULL
target_type varchar(255) NO MUL NULL
target_id bigint unsigned NO NULL
model_type varchar(255) NO NULL
model_id bigint unsigned YES NULL
fields text NO NULL
status varchar(25) NO running
exception text NO NULL
created_at timestamp YES NULL
updated_at timestamp YES NULL
original mediumtext YES NULL
changes mediumtext YES NULL

cache

Field Type Null Key Default Extra Foreign Key
key varchar(255) NO PRI NULL
value mediumtext NO NULL
expiration int NO MUL NULL

cache_locks

Field Type Null Key Default Extra Foreign Key
key varchar(255) NO PRI NULL
owner varchar(255) NO NULL
expiration int NO MUL NULL

failed_jobs

Field Type Null Key Default Extra Foreign Key
id bigint unsigned NO PRI NULL auto_increment
uuid varchar(255) NO UNI NULL
connection text NO NULL
queue text NO NULL
payload longtext NO NULL
exception longtext NO NULL
failed_at timestamp NO CURRENT_TIMESTAMP DEFAULT_GENERATED

job_batches

Field Type Null Key Default Extra Foreign Key
id varchar(255) NO PRI NULL
name varchar(255) NO NULL
total_jobs int NO NULL
pending_jobs int NO NULL
failed_jobs int NO NULL
failed_job_ids longtext NO NULL
options mediumtext YES NULL
cancelled_at int YES NULL
created_at int NO NULL
finished_at int YES NULL

jobs

Field Type Null Key Default Extra Foreign Key
id bigint unsigned NO PRI NULL auto_increment
queue varchar(255) NO MUL NULL
payload longtext NO NULL
attempts tinyint unsigned NO NULL
reserved_at int unsigned YES NULL
available_at int unsigned NO NULL
created_at int unsigned NO NULL

migrations

Field Type Null Key Default Extra Foreign Key
id int unsigned NO PRI NULL auto_increment
migration varchar(255) NO NULL
batch int NO NULL

nova_field_attachments

Field Type Null Key Default Extra Foreign Key
id int unsigned NO PRI NULL auto_increment
attachable_type varchar(255) NO MUL NULL
attachable_id bigint unsigned NO NULL
attachment varchar(255) NO NULL
disk varchar(255) NO NULL
url varchar(255) NO MUL NULL
created_at timestamp YES NULL
updated_at timestamp YES NULL

nova_notifications

Field Type Null Key Default Extra Foreign Key
id char(36) NO PRI NULL
type varchar(255) NO NULL
notifiable_type varchar(255) NO MUL NULL
notifiable_id bigint unsigned NO NULL
data text NO NULL
read_at timestamp YES NULL
created_at timestamp YES NULL
updated_at timestamp YES NULL
deleted_at timestamp YES NULL

nova_pending_field_attachments

Field Type Null Key Default Extra Foreign Key
id int unsigned NO PRI NULL auto_increment
draft_id varchar(255) NO MUL NULL
attachment varchar(255) NO NULL
disk varchar(255) NO NULL
created_at timestamp YES NULL
updated_at timestamp YES NULL

password_reset_tokens

Field Type Null Key Default Extra Foreign Key
email varchar(255) NO PRI NULL
token varchar(255) NO NULL
created_at timestamp YES NULL

sessions

Field Type Null Key Default Extra Foreign Key
id varchar(255) NO PRI NULL
user_id bigint unsigned YES MUL NULL
ip_address varchar(45) YES NULL
user_agent text YES NULL
payload longtext NO NULL
last_activity int NO MUL NULL

users

Field Type Null Key Default Extra Foreign Key
id bigint unsigned NO PRI NULL auto_increment
name varchar(255) NO NULL
email varchar(255) NO UNI NULL
email_verified_at timestamp YES NULL
password varchar(255) NO NULL
two_factor_secret text YES NULL
two_factor_recovery_codes text YES NULL
two_factor_confirmed_at timestamp YES NULL
remember_token varchar(100) YES NULL
created_at timestamp YES NULL
updated_at timestamp YES NULL