0% found this document useful (0 votes)
32 views1 page

Library Management-Sql

This document describes the schema for a library management database. It includes tables for books, authors, book details, members, checkout records, categories, shelves, and other common library management tables. Relationships between tables are defined through foreign keys. The schema supports core functionality for tracking books, members, checkouts, and book metadata.

Uploaded by

sopnonill
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views1 page

Library Management-Sql

This document describes the schema for a library management database. It includes tables for books, authors, book details, members, checkout records, categories, shelves, and other common library management tables. Relationships between tables are defined through foreign keys. The schema supports core functionality for tracking books, members, checkouts, and book metadata.

Uploaded by

sopnonill
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

racks password_resets roles book_categories member_password_resets member_book_late_fees shelf_types

id BIGINT email VARCHAR(255) id BIGINT id BIGINT email VARCHAR(255) id BIGINT id BIGINT

name VARCHAR(255) token VARCHAR(255) name VARCHAR(255) book_id BIGINT token VARCHAR(255) member_id BIGINT name VARCHAR(255)

status TINYINT(1) created_at TIMESTAMP guard_name VARCHAR(255) category_id BIGINT created_at TIMESTAMP book_reserve_id BIGINT status TINYINT(1)

created_at TIMESTAMP Indexes created_at TIMESTAMP created_at TIMESTAMP Indexes charge_amount DECIMAL(8,2) created_at TIMESTAMP

updated_at TIMESTAMP updated_at TIMESTAMP updated_at TIMESTAMP created_at TIMESTAMP updated_at TIMESTAMP
Indexes Indexes Indexes updated_at TIMESTAMP Indexes

Indexes

system_settings users categories shelf_types_of_shelves model_has_permissions member_transactions shelves


id BIGINT id BIGINT id BIGINT id BIGINT permission_id BIGINT id BIGINT id BIGINT

key_index INT name VARCHAR(255) name VARCHAR(255) shelf_type_id BIGINT model_type VARCHAR(255) member_id BIGINT name VARCHAR(255)

value VARCHAR(255) email VARCHAR(255) parent_id BIGINT shelf_id BIGINT model_id BIGINT type TINYINT status TINYINT(1)

created_at TIMESTAMP email_verified_at TIMESTAMP status TINYINT(1) created_at TIMESTAMP Indexes book_detail_id BIGINT created_at TIMESTAMP

updated_at TIMESTAMP username VARCHAR(255) created_at TIMESTAMP updated_at TIMESTAMP charge_amount DECIMAL(8,2) updated_at TIMESTAMP
Indexes avatar_url VARCHAR(255) updated_at TIMESTAMP Indexes created_at TIMESTAMP Indexes

address VARCHAR(255) Indexes updated_at TIMESTAMP

phone_number VARCHAR(255) Indexes

last_logged_at TIMESTAMP

password VARCHAR(255)
book_tags desk_number TINYINT permissions role_has_permissions book_authors rack_shelves members
id BIGINT status TINYINT id BIGINT permission_id BIGINT id BIGINT id BIGINT id BIGINT

book_id BIGINT remember_token VARCHAR(100) name VARCHAR(255) role_id BIGINT book_id BIGINT rack_id BIGINT name VARCHAR(255)

tag_id BIGINT guard_name VARCHAR(255) Indexes author_id BIGINT shelf_id BIGINT user_type TINYINT
created_at TIMESTAMP
created_at TIMESTAMP updated_at TIMESTAMP group_name VARCHAR(255) created_at TIMESTAMP created_at TIMESTAMP email VARCHAR(255)

updated_at TIMESTAMP Indexes created_at TIMESTAMP updated_at TIMESTAMP updated_at TIMESTAMP email_verified_at TIMESTAMP
Indexes updated_at TIMESTAMP Indexes Indexes avatar_url VARCHAR(255)
Indexes address VARCHAR(255)

phone_number VARCHAR(255)

last_logged_at TIMESTAMP

password VARCHAR(255)
book_reserves failed_jobs books book_details authors migrations registration_number VARCHAR(255)
id BIGINT id BIGINT id BIGINT id BIGINT id BIGINT id INT total_late_fee_given DECIMAL(8,2)
book_detail_id BIGINT uuid VARCHAR(255) name VARCHAR(255) book_id BIGINT name VARCHAR(255) migration VARCHAR(255) roll_number VARCHAR(255)
member_id BIGINT connection TEXT identification_number VARCHAR(255) rack_id BIGINT details TEXT batch INT academic_year VARCHAR(255)
checkout_by BIGINT queue TEXT isbn_number VARCHAR(255) shelf_id BIGINT image VARCHAR(255) Indexes
department_name VARCHAR(255)
issued_date DATE payload LONGTEXT published_date DATE identification_number VARCHAR(255) status TINYINT(1) status TINYINT
return_date DATE exception LONGTEXT publisher VARCHAR(255) note VARCHAR(255) created_at TIMESTAMP remember_token VARCHAR(100)
total_renewed TINYINT failed_at TIMESTAMP edition VARCHAR(255) status TINYINT updated_at TIMESTAMP created_at TIMESTAMP
status TINYINT(1) Indexes description TEXT created_at TIMESTAMP Indexes
updated_at TIMESTAMP
created_at TIMESTAMP status TINYINT updated_at TIMESTAMP Indexes
updated_at TIMESTAMP created_at TIMESTAMP Indexes

Indexes model_has_roles updated_at TIMESTAMP personal_access_tokens tags


role_id BIGINT Indexes id BIGINT id BIGINT

model_type VARCHAR(255) tokenable_type VARCHAR(255) name VARCHAR(255)

model_id BIGINT tokenable_id BIGINT status TINYINT(1)


Indexes name VARCHAR(255) created_at TIMESTAMP

token VARCHAR(64) updated_at TIMESTAMP

abilities TEXT Indexes

last_used_at TIMESTAMP

created_at TIMESTAMP

updated_at TIMESTAMP
Indexes

You might also like