Files
play-life/play-life-backend/migrations/000009_add_is_admin_to_users.down.sql
poignatov 89e66d6093
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m11s
4.7.1: Фикс открытия админ-панели
2026-02-02 19:16:49 +03:00

10 lines
228 B
SQL

-- Migration: Remove is_admin field from users table
-- Date: 2026-02-02
--
-- This migration reverts the addition of is_admin field.
DROP INDEX IF EXISTS idx_users_is_admin;
ALTER TABLE users
DROP COLUMN IF EXISTS is_admin;