mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-08-29 05:52:08 -04:00
13 lines
318 B
SQL
13 lines
318 B
SQL
-- migrate:up
|
|
-- Update the "subscribe" table to set "inventory" to -1 where it is currently 0
|
|
UPDATE "subscribe"
|
|
SET "inventory" = -1
|
|
WHERE "inventory" = 0;
|
|
|
|
-- migrate:down
|
|
-- This migration script reverts the inventory values in the 'subscribe' table
|
|
UPDATE "subscribe"
|
|
SET "inventory" = 0
|
|
WHERE "inventory" = -1;
|
|
|