How to Add Flask-Migrate to an Existing Flask-SQLAlchemy Project

How to Add Flask-Migrate to an Existing Flask-SQLAlchemy Project

Pretty Printed

1 год назад

11,536 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ali Mughrabi
Ali Mughrabi - 14.01.2023 19:52

Thanks, how to open PostgreSQL in browser ?

Ответить
André
André - 10.01.2023 15:33

I am struggling, because i am on a windows machine and my terminal doesn't do the same thing as in the video

i am using VSCode and my terminal looks like this
"PS C:\...>"

can anyone tell me what i need to do to get to the terminal with the "$"

thanks ❤

Ответить
Tj Karthik
Tj Karthik - 08.12.2022 14:56

You are pretty smart to skip the major real time problem... Scenario is, If there are some tables with relationships in your db already, when you run the migarate it will generate migration file for creating the tables and dropping, so you cant run either upgrade or downgrade on that time. because there will not be any cascading delete. so it will throw errors like, these tables have some dependencies

Ответить
cascossi
cascossi - 03.12.2022 12:51

Thank you very much Anthony. You explain concepts very well and the project example you deliver is easy to hand on.

Ответить
Chris Banas
Chris Banas - 11.11.2022 06:28

Extremely helpful, the blank DB trick fixed my problems

Ответить
Stan Justine
Stan Justine - 10.10.2022 14:04

why docker file
?

Ответить
Paul Curious
Paul Curious - 01.10.2022 02:22

great one again! thanks for this

Ответить
Sebastian
Sebastian - 01.10.2022 02:10

Nice video. Very useful. Thanks

Ответить