Files
boursecu_server/database/sql/fix_migrations_after_failed_migrate.sql
T

19 lines
915 B
SQL
Raw Normal View History

2026-06-11 13:22:30 +03:30
-- بعد از خطای Table already exists
2026-06-10 21:06:03 +03:30
TRUNCATE TABLE `migrations`;
INSERT INTO `migrations` (`migration`, `batch`) VALUES
('0000_00_00_000000_baseline_schema', 1),
2026-06-11 10:35:01 +03:30
('2019_12_14_000001_create_personal_access_tokens_table', 1),
('2021_12_02_065938_create_wallet_moudle_table', 1),
2026-06-10 21:06:03 +03:30
('2026_05_25_163201_add_provider_fields_to_orders_table', 1),
('2026_06_02_000001_add_price_offset_percent_to_products_table', 1),
('2026_06_06_000001_add_total_referrals_to_customers_table', 1),
('2026_06_06_000002_alter_logs_data_to_longtext', 1),
('2026_06_06_000003_add_order_limit_columns_to_products_table', 1),
('2026_06_09_000001_add_show_in_assets_to_products_table', 1),
('2026_06_10_000001_add_use_last_price_if_zero_to_products_table', 1),
2026-06-11 22:08:47 +03:30
('2026_06_10_000002_add_type_column_to_settings_table', 1),
('2026_06_11_000001_add_store_tables_and_columns', 1);
2026-06-10 21:06:03 +03:30
2026-06-11 13:22:30 +03:30
SELECT migration, batch FROM migrations ORDER BY migration;