push for migration on dev
This commit is contained in:
parent
a896e96ebf
commit
20f0b87828
3 changed files with 9 additions and 1 deletions
1
db/atlas/stripe_invoice/add_new_migration.sh
Normal file
1
db/atlas/stripe_invoice/add_new_migration.sh
Normal file
|
|
@ -0,0 +1 @@
|
|||
atlas migrate new add_used_at_to_login_tokens
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
ALTER TABLE login_tokens
|
||||
ADD COLUMN IF NOT EXISTS used_at TIMESTAMPTZ;
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_login_tokens_unused
|
||||
ON login_tokens (id)
|
||||
WHERE used_at IS NULL;
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
h1:ELwFHTBDb63mdRBhmjXMMSpy05pUSVxH03zuUuHYAto=
|
||||
h1:uc3d9fE1+yrhzeCK1AjgaYWVZi3SDA4DBWEIMaOsRak=
|
||||
0001_init.sql h1:gzb02ZbjrrJkXOC+2qIZsngnj7A+29O2/b4awScPlPs=
|
||||
0002_auth.sql h1:4NhBu26dIBMy9gxMxM3tf6Z2CS2kfKlGjFBj07T/aBw=
|
||||
0003_stripe_xero.sql h1:E2bcdUDnondsXwbdIwVlZqR4DQwzcoDiyeRFJwVxXwg=
|
||||
0004_login_tokens.sql h1:rj1KcWu/0znh2YvtI7JV8Z2nwtL5rZzONbPwX1P+/PI=
|
||||
20251228182659_add_used_at_to_login_tokens.sql h1:TwPL+DRx03BtDsdAmUGAnGlvdVjAORllerefu+fCu/E=
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue