You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
senzapaura_es/drizzle/0008_fuera_el_slug_de_las_c...

14 lines
830 B

-- Se va el slug de las siete tablas.
--
-- Segundo paso del cambio de la 0007. Va aparte para que el despliegue no
-- tenga que parar el sitio: entre una y otra, la versión vieja del código
-- seguía leyendo su columna mientras la nueva ya escribía `cancion_id`. Una vez
-- desplegada la nueva, la columna sobra.
ALTER TABLE "descarga" DROP COLUMN "cancion_slug";--> statement-breakpoint
ALTER TABLE "carrito_item" DROP COLUMN "cancion_slug";--> statement-breakpoint
ALTER TABLE "compra" DROP COLUMN "cancion_slug";--> statement-breakpoint
ALTER TABLE "pedido_item" DROP COLUMN "cancion_slug";--> statement-breakpoint
ALTER TABLE "favorito" DROP COLUMN "cancion_slug";--> statement-breakpoint
ALTER TABLE "reproduccion" DROP COLUMN "cancion_slug";--> statement-breakpoint
ALTER TABLE "valoracion" DROP COLUMN "cancion_slug";

Powered by TurnKey Linux.