From 3cd222c0482745a964976c28992d0881b75db49e Mon Sep 17 00:00:00 2001 From: Trey t Date: Fri, 28 Nov 2025 08:56:37 -0600 Subject: [PATCH] Remove DO $$ block from test data SQL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the PostgreSQL anonymous code block with simple comments. The RAISE NOTICE statements were just for CLI output and aren't needed when seeding via the API. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- seeds/002_test_data.sql | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/seeds/002_test_data.sql b/seeds/002_test_data.sql index 912f9cc..e75bacd 100644 --- a/seeds/002_test_data.sql +++ b/seeds/002_test_data.sql @@ -159,13 +159,8 @@ SELECT setval('task_document_id_seq', (SELECT COALESCE(MAX(id), 0) + 1 FROM task SELECT setval('notifications_notification_id_seq', (SELECT COALESCE(MAX(id), 0) + 1 FROM notifications_notification), false); SELECT setval('notifications_notificationpreference_id_seq', (SELECT COALESCE(MAX(id), 0) + 1 FROM notifications_notificationpreference), false); --- Summary -DO $$ -BEGIN - RAISE NOTICE 'Test data seeded successfully!'; - RAISE NOTICE 'Test Users (password: password123):'; - RAISE NOTICE ' - admin (admin@example.com) - Admin, Pro tier'; - RAISE NOTICE ' - john (john@example.com) - Pro tier, owns 2 residences'; - RAISE NOTICE ' - jane (jane@example.com) - Free tier, owns 1 residence, shared access to residence 1'; - RAISE NOTICE ' - bob (bob@example.com) - Free tier'; -END $$; +-- Test Users (password: password123): +-- - admin (admin@example.com) - Admin, Pro tier +-- - john (john@example.com) - Pro tier, owns 2 residences +-- - jane (jane@example.com) - Free tier, owns 1 residence, shared access to residence 1 +-- - bob (bob@example.com) - Free tier