Skip to content

Commit

Permalink
test: fix date type
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddyuchina committed Mar 25, 2024
1 parent c0ae110 commit 79cb979
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ describe('Integration test', () => {
table.text('custom_cast');
table.integer('some_string');
table.string('some_int');
table.timestamp('some_date');
table.timestamp('some_datetime');
table.datetime('some_date').defaultTo(null);
table.datetime('some_datetime').defaultTo(null);
table.tinyint('is_published').defaultTo(0);
table.timestamps();
})
Expand Down

0 comments on commit 79cb979

Please sign in to comment.