cedar2025 / Xboard

基于V2board二次开发支持新协议新特性的高性能面板
MIT License
1.37k stars 325 forks source link

[BUG] Invalid type of table 'v2_order' : value 'status' type boolean should be as intenger. #103

Open Evsio0n opened 3 months ago

Evsio0n commented 3 months ago

https://github.com/cedar2025/Xboard/blob/bb708d608434421e2e16691a240e7bbdc983c2d4/database/migrations/2023_08_07_205816_create_v2_order_table.php#L34-L35

https://github.com/cedar2025/Xboard/blob/bb708d608434421e2e16691a240e7bbdc983c2d4/database/migrations/2023_08_07_205816_create_v2_ticket_table.php#L21-L22

When using postgresql, bool type can not set as interger

cedar2025 commented 3 months ago

I'm very sorry. I have not done any testing on postgresql. I cannot guarantee that this project can run stably on postgresql. You can make relevant adaptations by yourself.