Skip to content

Commit

Permalink
Make timestamp columns nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
caithagoras0 committed Apr 8, 2020
1 parent 030052b commit 4c43075
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ public interface FunctionNamespaceDao
" description text,\n" +
" deleted boolean NOT NULL DEFAULT false,\n" +
" delete_time TIMESTAMP NULL DEFAULT NULL,\n" +
" create_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n" +
" update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n" +
" create_time TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP,\n" +
" update_time TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n" +
" PRIMARY KEY (id),\n" +
" KEY function_id_hash_version (function_id_hash, version),\n" +
" KEY qualified_function_name (catalog_name, schema_name, function_name))")
Expand Down

0 comments on commit 4c43075

Please sign in to comment.