SShortSingh.
Back to feed

Census of 15 Laravel apps reveals shared schema habits no one explicitly chose

0
·1 views

A developer analyzed 811 database tables across 15 real-world open-source Laravel applications to document what production schemas actually look like beyond tutorial projects. The study found that six tables in four projects — Bagisto, Firefly III, Koel, and Twill — lack primary keys, a trait traced back to Laravel's own legacy password-reset scaffold rather than developer oversight. Laravel has since corrected this in version 13 by introducing a properly keyed password_reset_tokens table, but older projects continue carrying the original keyless design forward. The census also revealed wide variation in relational integrity: Bagisto enforces foreign keys on 87% of its tables, while Snipe-IT uses just one foreign key across 58 tables and October CMS uses none, instead relying on PHP-level relationship declarations. The findings highlight how framework-generated defaults quietly shape application architecture long after the original design decision has been forgotten.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Systems Development Student Shares Key Lessons Beyond Coding

A Systems Development student has reflected on lessons learned through academic projects involving programming, UML, data modeling, and system prototyping. The student noted that many software challenges arise before a single line of code is written, emphasizing the importance of understanding user needs and organizing information early. Working with diagrams and system models revealed how small design decisions can significantly impact an entire project's structure. The student concluded that logical thinking and problem-solving are just as vital as knowing a programming language like Python. These early experiences have shaped a broader view of software development as a process of understanding problems and turning them into practical solutions.

0
ProgrammingDEV Community ·

Student Builds Educational Web App to Spotlight Paraíba Wildlife and Extinction Risks

A student developer is working on an academic front-end project called Animalia, aimed at raising awareness about the local fauna of Paraíba, Brazil, and the importance of environmental preservation. The web application is being built using VS Code and its extensions, with development currently in its early stages. The developer has encountered challenges around Git structure and version control, which have served as hands-on learning opportunities. Once complete, the app plans to offer educational content on local animals, including their characteristics and extinction status, as well as a personal album feature for users to log wildlife observations. The project is seen by its creator as both a practical exercise in applying technical skills and a step toward professional growth.

0
ProgrammingDEV Community ·

Google OAuth tokens expire every 7 days if app stays in 'Testing' mode by default

A developer's automated publishing pipeline repeatedly failed with an 'invalid_grant' token expiry error, initially mistaken for a previously fixed bug. The root cause was Google Cloud's OAuth consent screen defaulting to 'Testing' publishing status, which enforces a hard 7-day refresh token expiry regardless of how frequently the token is used. This setting, found under the Google Auth Platform's Audience tab, is not flagged during initial setup, making it easy to overlook. Unlike 'In production' status, which grants long-lived tokens, Testing mode is designed for short-lived experiments and restricts authentication to pre-approved test users. Switching the publishing status to 'In production' resolved the issue; for apps using only low-risk scopes like Blogger or Search Console, this change does not trigger Google's full verification review process.

0
ProgrammingDEV Community ·

Key Engineering Lessons for Taking Multi-Agent AI Systems to Production

Building multi-agent AI systems that work reliably in production is significantly harder than creating a functional prototype, according to a technical analysis published on DEV Community. While early demos running in notebooks may appear stable, real-world conditions such as concurrent requests expose critical failure points including orchestrator routing loops, mismatched data contracts between agents, and uncontrolled state divergence. Accuracy compounds negatively across agent chains — a three-agent pipeline where each agent is 90% reliable produces fully valid output only about 73% of the time. The piece identifies four core failure categories: orchestrator collapse, contract drift, state explosion, and observability blindness, each requiring distinct engineering solutions. The author argues that production readiness must be treated as a core architectural concern from the start, not addressed after deployment.

Census of 15 Laravel apps reveals shared schema habits no one explicitly chose · ShortSingh