/*
  Warnings:

  - You are about to drop the column `l` on the `lineitem` table. All the data in the column will be lost.
  - You are about to drop the column `m` on the `lineitem` table. All the data in the column will be lost.
  - You are about to drop the column `other` on the `lineitem` table. All the data in the column will be lost.
  - You are about to drop the column `s` on the `lineitem` table. All the data in the column will be lost.
  - You are about to drop the column `xl` on the `lineitem` table. All the data in the column will be lost.
  - You are about to drop the column `xs` on the `lineitem` table. All the data in the column will be lost.
  - You are about to drop the column `xxl` on the `lineitem` table. All the data in the column will be lost.
  - You are about to drop the column `xxxl` on the `lineitem` table. All the data in the column will be lost.
  - You are about to drop the `primarymatrix` table. If the table is not empty, all the data it contains will be lost.
  - You are about to drop the `secondarymatrix` table. If the table is not empty, all the data it contains will be lost.
  - You are about to drop the `tertiarymatrix` table. If the table is not empty, all the data it contains will be lost.

*/
-- AlterTable
ALTER TABLE `lineitem` DROP COLUMN `l`,
    DROP COLUMN `m`,
    DROP COLUMN `other`,
    DROP COLUMN `s`,
    DROP COLUMN `xl`,
    DROP COLUMN `xs`,
    DROP COLUMN `xxl`,
    DROP COLUMN `xxxl`,
    ADD COLUMN `total` INTEGER NOT NULL DEFAULT 0;

-- DropTable
DROP TABLE `primarymatrix`;

-- DropTable
DROP TABLE `secondarymatrix`;

-- DropTable
DROP TABLE `tertiarymatrix`;
