Skip to content

Commit

Permalink
test db updateds
Browse files Browse the repository at this point in the history
  • Loading branch information
iamitprakash committed Jun 14, 2024
1 parent 43a5814 commit a3ff32d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test-data/init-db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ CREATE TABLE IF NOT EXISTS tiny_url (
created_by text NOT NULL,
access_count bigint DEFAULT 0,
last_accessed_at timestamp DEFAULT (NOW() AT TIME ZONE 'UTC')
is_deleted bool null default false
deleted_at timestamp WITH TIME ZONE NULL
);

-- Insert data into the tiny_url table
Expand Down

0 comments on commit a3ff32d

Please sign in to comment.