Skip to content

Commit

Permalink
Merge pull request #26 from clj-codes/fix/add-id-exemple-edit-table
Browse files Browse the repository at this point in the history
fix: adds id to example-edit-table
  • Loading branch information
rafaeldelboni authored Mar 20, 2024
2 parents 295c53c + 9ea2ff4 commit 5f0b511
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ALTER TABLE example_edit DROP CONSTRAINT example_edit_pkey;

--;;

ALTER TABLE example_edit DROP COLUMN example_edit_id;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE example_edit ADD COLUMN example_edit_id uuid NOT NULL PRIMARY KEY DEFAULT gen_random_uuid ();

0 comments on commit 5f0b511

Please sign in to comment.