Latest Updates

Documenting code, one commit at a time.

MySQL 10 posts
×
0 PHP MySQL

Optimizando la arquitectura de datos en drolguinapi

En el proyecto drolguinapi, hemos estado trabajando recientemente en la mejora y consolidación de nuestra capa de acceso a datos. El objetivo principal ha sido refinar la interacción entre nuestra lógica de negocio en PHP y la base de datos MySQL, asegurando una mayor integridad y eficiencia en las operaciones de consulta.

Mejoras en la persistencia

El enfoque reciente se ha centrado en

0 PHP CSS MySQL

Optimización y estructuración de relaciones en Reimpact platform

Hemos realizado una serie de mejoras técnicas en Reimpact platform para fortalecer la gestión de productos prioritarios vinculados a almacenes. El objetivo principal ha sido establecer una relación muchos a muchos robusta y eficiente, garantizando la integridad de los datos y mejorando la escalabilidad del sistema.

Nueva estructura de datos

Para implementar esta funcionalidad,

0 PHP MySQL

Optimización de relaciones de almacén y productos prioritarios en Reimpact platform

Hemos implementado una mejora significativa en la gestión de relaciones entre almacenes y productos prioritarios dentro de Reimpact platform, optimizando la arquitectura de datos y asegurando la integridad en la asignación de empaquetado, neumáticos y baterías.

Nueva estructura de persistencia

Para gestionar las asignaciones de forma escalable, introdujimos una tabla intermedia que utiliza

Empowering Superadmins: A Secure SQL Query Executor Tool for Reimpact/platform

Introduction

The Reimpact/platform project recently rolled out a powerful new feature for its superadministrators: a dedicated SQL Query Executor tool. While direct database access can be a double-edged sword, this tool addresses the critical need for superadmins to perform ad-hoc read-only database inspections and troubleshooting, all within a secure and controlled environment.

Improving Data Synchronization in Platform: Addressing Foreign Key Constraints and Memory Usage

Introduction

The Reimpact/platform project encountered challenges during data synchronization, specifically with foreign key constraints and memory exhaustion issues. This post outlines the problem, the solution implemented, and key takeaways for managing large-scale data transfers.

The Challenge

During the synchronization of a large dataset (1.45M rows) from a production MySQL database

Improving Database Compatibility and Code Maintainability in Laravel Projects

Introduction

Maintaining compatibility across different database systems and ensuring code consistency can be challenging in large Laravel projects. This post outlines how the Reimpact/platform project addressed these issues, specifically focusing on PostgreSQL compatibility and tenant table management.

The Challenge

When developing applications that need to support multiple database

Refactoring Database Schemas for Module-Specific Tables

We've been working on the Reimpact/platform project, and recently tackled a significant refactoring of our database schema. Our initial design had a mix of shared and module-specific tables within each tenant schema, which led to some challenges as the platform grew.

The primary goal of this refactoring was to improve modularity and maintainability by clearly separating module-specific data.

Scaling with Schemas: Multi-Tenancy Migration in Laravel

The Reimpact platform is undergoing a significant architectural shift, moving from a MySQL row-level multi-tenancy model to a more robust PostgreSQL schema-per-tenant setup. This post dives into the key considerations and steps involved in this migration, leveraging Laravel and Filament.

The Motivation for Schema-Based Tenancy

Row-level multi-tenancy in MySQL, while initially simpler to

Navigating the Data Migration Maze: MySQL to PostgreSQL

Migrating data between different database systems can be a complex undertaking. Recently, the team working on the platform navigated a significant data migration from MySQL to PostgreSQL. This post outlines some key considerations and challenges encountered during the process. These insights can help you avoid common pitfalls when undertaking similar migrations.

The Challenge

0 PHP MySQL AWS

Streamlining Local Development with Dynamic MySQL Configuration

Setting up a local development environment can often be a hurdle, especially when dealing with database credentials. Manually managing these credentials and ensuring they match the production environment can be time-consuming and error-prone. This is especially true for the Reimpact platform, where consistency between development and production environments is crucial.

The Problem: Hardcoded