lingdu1234 / axum_admin

axum admin rust vue
https://314.iu1314.top/
239 stars 45 forks source link

执行sea-orm-cli需要从环境变量中获取DATABASE_URL #9

Closed zrz4066 closed 2 years ago

zrz4066 commented 2 years ago

1.不用设置环境变量,从env中获取DATABASE_URL。

lingdu1234 commented 2 years ago

it use the .env file by default,don't need add this code.
https://www.sea-ql.org/SeaORM/docs/generate-entity/sea-orm-cli/

lingdu1234 commented 2 years ago

this file is generated by sea-orm-cli