Fix Activepieces duplicate pieces and SmoothSchedule logo

- Remove piece_metadata inserts from SQL script (pieces are auto-discovered
  from filesystem as OFFICIAL, no need for duplicate CUSTOM entries)
- SQL now only sets pinnedPieces and cleans up any existing duplicates
- Fix SmoothSchedule logo URL to use production URL instead of lvh.me
- Fix deploy.sh to read correct POSTGRES_USER from env file

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
poduck
2025-12-20 23:36:37 -05:00
parent f8d8419622
commit 0f47f118f7
3 changed files with 37 additions and 102 deletions

View File

@@ -56,10 +56,8 @@ export type SmoothScheduleAuth = {
props: SmoothScheduleAuthProps;
};
// SmoothSchedule logo - hosted on Django backend
// For local development: http://lvh.me:8000/static/images/logo-branding.png
// For production: https://smoothschedule.com/static/images/logo-branding.png
const SMOOTHSCHEDULE_LOGO = 'http://lvh.me:8000/static/images/logo-branding.png';
// SmoothSchedule logo - use production URL (works in both environments via DNS)
const SMOOTHSCHEDULE_LOGO = 'https://smoothschedule.com/static/images/logo-branding.png';
export const smoothSchedule = createPiece({
displayName: 'SmoothSchedule',