Remove DO $$ block from test data SQL
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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_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);
|
SELECT setval('notifications_notificationpreference_id_seq', (SELECT COALESCE(MAX(id), 0) + 1 FROM notifications_notificationpreference), false);
|
||||||
|
|
||||||
-- Summary
|
-- Test Users (password: password123):
|
||||||
DO $$
|
-- - admin (admin@example.com) - Admin, Pro tier
|
||||||
BEGIN
|
-- - john (john@example.com) - Pro tier, owns 2 residences
|
||||||
RAISE NOTICE 'Test data seeded successfully!';
|
-- - jane (jane@example.com) - Free tier, owns 1 residence, shared access to residence 1
|
||||||
RAISE NOTICE 'Test Users (password: password123):';
|
-- - bob (bob@example.com) - Free tier
|
||||||
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 $$;
|
|
||||||
|
|||||||
Reference in New Issue
Block a user