Closed OAGr closed 6 months ago
Latest commit: 56ea454b4baa252b23fee6d94a2f5666a6d5d231
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
quri-hub | ✅ Ready (Inspect) | Visit Preview | Feb 26, 2024 11:27pm |
This adds backend seeds to Squiggle Hub.
Note: To run script, we need to set and environment variable, ADMIN_SECRET_TOKEN, then POST to
/api/updateModelSeeds
. Later we can choose to delete the script, we should just need it this first time.This script would change the updatedAt times of all the modelrevisions - hopefully we're using the createdAt for ordering. It feels kind of weird to mutate old modelRevisions, but so it goes. At least it should really be a one-time thing here.