Skip to content

Commit

Permalink
api: add inserted_at to trees table (#49)
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Smith <[email protected]>
  • Loading branch information
worm-emoji and ryandotsmith authored Aug 22, 2022
1 parent 6274b8e commit 34e0965
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api/migrations/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,11 @@ var Migrations = []migrate.Migration{
CREATE INDEX on trees USING gin(proofs jsonb_path_ops);
`,
},
{
Name: "2022-08-22.1.add-inserted-at.sql",
SQL: `
ALTER TABLE trees
ADD COLUMN "inserted_at" timestamptz NOT NULL DEFAULT now();
`,
},
}

1 comment on commit 34e0965

@vercel
Copy link

@vercel vercel bot commented on 34e0965 Aug 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

lanyard – ./

lanyard.context.wtf
www.lanyard.build
allowlist.context.wtf
lanyard-git-main.context.wtf
lanyard.build

Please sign in to comment.