init
This commit is contained in:
10
database/sql/data.sql
Normal file
10
database/sql/data.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
-- Database Initial Data
|
||||
-- Generated based on System Categories
|
||||
|
||||
USE `accounting_app`;
|
||||
|
||||
-- Insert System Categories
|
||||
INSERT INTO `system_categories` (`code`, `name`, `icon`, `type`, `is_system`) VALUES
|
||||
('refund', '退款', 'mdi:cash-refund', 'income', 1),
|
||||
('reimbursement', '报销', 'mdi:receipt-text-check', 'income', 1)
|
||||
ON DUPLICATE KEY UPDATE `name`=VALUES(`name`), `icon`=VALUES(`icon`), `type`=VALUES(`type`);
|
||||
Reference in New Issue
Block a user