55_extend_subs.up.sql 243 B

123456
  1. update subscriptions
  2. set expiry_time = 1704067200000000 -- 01.01.2024
  3. where
  4. product_id = 'free' and
  5. storage = 1073741824 and -- ignore those whose plans we upgraded manually
  6. expiry_time < 1672531200000000; -- 01.01.2023