managarten/apps-archived/maerchenzauber/apps/backend/scripts/apply-story-votes-migration.sh
Till-JS 61d181fbc2 chore: archive inactive projects to apps-archived/
Move inactive projects out of active workspace:
- bauntown (community website)
- maerchenzauber (AI story generation)
- memoro (voice memo app)
- news (news aggregation)
- nutriphi (nutrition tracking)
- reader (reading app)
- uload (URL shortener)
- wisekeep (AI wisdom extraction)

Update CLAUDE.md documentation:
- Add presi to active projects
- Document archived projects section
- Update workspace configuration

Archived apps can be re-activated by moving back to apps/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 07:03:59 +01:00

36 lines
1 KiB
Bash
Executable file

#!/bin/bash
# Colors for output
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
RED='\033[0;31m'
NC='\033[0m' # No Color
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
MIGRATION_FILE="$SCRIPT_DIR/../migrations/create_story_votes_table.sql"
echo ""
echo -e "${YELLOW}📋 Story Votes Migration${NC}"
echo "================================"
echo ""
# Check if migration file exists
if [ ! -f "$MIGRATION_FILE" ]; then
echo -e "${RED}❌ Migration file not found: $MIGRATION_FILE${NC}"
exit 1
fi
echo -e "${GREEN}✅ Migration file found${NC}"
echo ""
echo "Please run this SQL in your Supabase SQL Editor:"
echo ""
echo -e "${YELLOW}1. Go to your Supabase project dashboard${NC}"
echo -e "${YELLOW}2. Navigate to: SQL Editor > New Query${NC}"
echo -e "${YELLOW}3. Copy and paste the following SQL:${NC}"
echo ""
echo "================================================"
cat "$MIGRATION_FILE"
echo "================================================"
echo ""
echo -e "${GREEN}After running the migration, the story voting feature will work!${NC}"
echo ""