Commit Graph

7 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
b0bbce2637 Add permanent access feature
- Added a boolean field `liberado_permanente` to the `usuarios` table.
- Updated the RLS policy to allow inserts if `liberado_permanente` is true.
- Updated the frontend to show a custom message if the insert is blocked.
2025-06-15 21:54:18 +00:00
gpt-engineer-app[bot]
f16b060416 Apply monthly payment RLS policy
Apply the SQL policy to ensure that transactions are only inserted if the user is within the trial period or has an approved payment for the current month.
2025-06-15 21:51:44 +00:00
gpt-engineer-app[bot]
5a1e6a222d Apply RLS policy for transaction inserts
Enforce trial period and payment checks for transaction inserts using RLS.
2025-06-15 21:48:12 +00:00
gpt-engineer-app[bot]
038c131b3b Run SQL migration for Mercado Pago payments. 2025-06-15 21:36:27 +00:00
gpt-engineer-app[bot]
9cd928329b Run SQL migration
Apply the reviewed SQL changes to the database.
2025-06-15 20:47:37 +00:00
gpt-engineer-app[bot]
8c3b01e6b6 Apply SQL migration
Apply the SQL migration to the database.
2025-06-15 20:40:16 +00:00
gpt-engineer-app[bot]
47e003213d Run SQL to create credit card tables. 2025-06-11 00:33:12 +00:00