Skip to content

Commit

Permalink
Update Default timestamp for stub
Browse files Browse the repository at this point in the history
  • Loading branch information
pphatdev committed Apr 6, 2024
1 parent 8ad6650 commit 6511fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/stub/[name].stub
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ CREATE TABLE IF NOT EXISTS public.[name] (
-- your field name
"status" BOOLEAN NOT NULL DEFAULT true,
is_deleted BOOLEAN NOT NULL DEFAULT false,
created_date DATE NOT NULL DEFAULT now()
created_date DATE NOT NULL DEFAULT timestamp(0)
);

0 comments on commit 6511fbd

Please sign in to comment.