Skip to content

Commit

Permalink
build: move success notice to wrapper pgsql func (migrations)
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 5, 2023
1 parent ff91fe1 commit 46327ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions src/backend/migrate-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ execute_migrations() {
BEGIN
INSERT INTO public."_migrations" (date_executed, script_name)
VALUES (NOW(), '$script_name');
RAISE NOTICE 'Successfully applied migration: $script_name';
EXCEPTION
WHEN OTHERS THEN
RAISE NOTICE 'Failed to add migration to database: $script_name';
Expand Down
4 changes: 0 additions & 4 deletions src/backend/migrations/000-remove-user-password.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,3 @@ COMMIT;
-- ADD COLUMN IF NOT EXISTS password character varying;
-- -- Commit the transaction
-- COMMIT;


-- ## Print a success message
RAISE NOTICE 'Migration complete for public.users "password" field.';

0 comments on commit 46327ca

Please sign in to comment.