/*
  Warnings:

  - You are about to drop the `categories` table. If the table is not empty, all the data it contains will be lost.
  - You are about to drop the `failed_jobs` table. If the table is not empty, all the data it contains will be lost.
  - You are about to drop the `migrations` table. If the table is not empty, all the data it contains will be lost.
  - You are about to drop the `password_reset_tokens` table. If the table is not empty, all the data it contains will be lost.
  - You are about to drop the `personal_access_tokens` table. If the table is not empty, all the data it contains will be lost.
  - You are about to drop the `products` table. If the table is not empty, all the data it contains will be lost.

*/
-- DropForeignKey
ALTER TABLE `products` DROP FOREIGN KEY `products_id_category_foreign`;

-- AlterTable
ALTER TABLE `users` ADD COLUMN `balance` DOUBLE NOT NULL DEFAULT 0,
    ADD COLUMN `sponsor_id` INTEGER NOT NULL DEFAULT 1;

-- DropTable
DROP TABLE `categories`;

-- DropTable
DROP TABLE `failed_jobs`;

-- DropTable
DROP TABLE `migrations`;

-- DropTable
DROP TABLE `password_reset_tokens`;

-- DropTable
DROP TABLE `personal_access_tokens`;

-- DropTable
DROP TABLE `products`;
