Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Pomify - Instrucciones para Claude

## Gestor de paquetes
- Usar siempre **pnpm** en lugar de npm para instalar dependencias frontend
- Comando de instalación: `pnpm install`
- Nunca usar `npm install` salvo que se indique explícitamente

## Comandos para arrancar el proyecto
- **Backend:** `pipenv run start`
- **Frontend:** `pnpm run start`

## Stack
- Frontend: React + Vite
- Backend: Python Flask con pipenv
- Base de datos: PostgreSQL con migraciones Flask-Migrate
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
"""drop unique index on avatar_url

Revision ID: 0d6fd6c67f9e
Revises: 301e8a60961c
Create Date: 2026-05-22 13:40:19.038241

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '0d6fd6c67f9e'
down_revision = '301e8a60961c'
branch_labels = None
depends_on = None


def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('user_table', schema=None) as batch_op:
batch_op.drop_constraint(batch_op.f('user_table_avatar_url_key'), type_='unique')

# ### end Alembic commands ###


def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('user_table', schema=None) as batch_op:
batch_op.create_unique_constraint(batch_op.f('user_table_avatar_url_key'), ['avatar_url'], postgresql_nulls_not_distinct=False)

# ### end Alembic commands ###
Loading