Closed sotoJ24 closed 3 days ago
Hi, my name is Derian Rodriguez. I'm a passionate software engineer with more than a year of experience, actively contributing to open source projects through OnlyDust. My experience includes full-stack development with focus on backend, frontend, and web3 development using Starknet and Cairo. In addition, I am part of the Dojo Coding community. I would follow all guidelines and instructions to achieve exactly what you want. I would love to contribute and contribute to the development of this project.
Hi! My name is Saymon Porras Briones, a Software Developer and a member of the Dojo Coding community. I am eager to contribute to this issue and implement the required apartments table schema with advanced querying features.
I can create the migration files to set up the table, configure spatial indexes for efficient location-based searches, and ensure robust data handling through triggers and constraints. Additionally, I will carefully implement the role-based permissions for tenants and landlords as described, ensuring proper access control and compliance with the requirements.
I will follow the provided guidelines, test proximity queries and CRUD operations thoroughly, and ensure the migration is seamless and reversible. I am excited to contribute to this project and deliver a reliable and scalable solution.
Create Apartments Table
I would create the apartments
table with owner relationships
I'm also going to create the necessary Indexes added for owner, price, location, and availability, configure all the permissions for tenants and landlords, and the custom proximity and area-based filters.
Finally, all the CRUD operations are going to be tested before delivering
I'm going to have everything ready in less than 48 hours from the bug assignation
i am a python dev, a newcomer here, and willing to contribute.
gm gm, i am new to opensource and would like to start my journey in od through here. I will design a PostgreSQL apartments table with PostGIS for advanced geospatial queries. Key fields like location, price, and availability will be efficiently indexed, and triggers will auto-update timestamps. Permissions will ensure secure access for tenants and landlords, and CRUD operations with geospatial features will be thoroughly tested for smooth apartment management.
gm @machuwey, Suhas here, having worked in the last od, where I’ve worked on integrating on-chain mechanics into games and have contributed to optimizing user experience with tools like SPV wallets and Web3 integrations.
To solve this issue, I will create a modular migration framework for the apartments table with PostGIS-enabled geospatial fields for location-based queries and optimized spatial indexes. Beyond standard indexing, I’ll implement a hierarchical caching mechanism to accelerate proximity queries for frequently searched areas. Permissions will be fine-tuned with dynamic validation logic to enforce stricter compliance while maintaining flexibility for future role expansions. All changes will undergo rigorous testing with automated scripts to validate CRUD operations and geospatial features in diverse real-world scenarios.
Draft pr : 24hours
Closing this, as it is a duplicate of https://github.com/safetrustcr/Backend/issues/17
Set up the
apartments
table in the database to store property details with the updated schema to enable advanced querying features and robust data handling.Problem
We need to:
Solution
1. Create Migration Files
Create a new migration:
up.sql
down.sql
2. Permissions Configuration
Tenant Permissions
Landlord Permissions
Prerequisites
Success Criteria
apartments
table created successfully.Verification Steps
Apply Migration:
Test Proximity Query:
Test Role-Based Permissions:
Additional Context
This setup will: