https://2021.pycon.jp/time-table/?id=273396
Webアプリ開発とデータベースマイグレーションには密接な関係があり、Pythonでよく採用されるDjangoやSQLAlchemyには、DBのスキーマを変更するマイグレーション機能があります。一般的に、プログラムを実装するときはリポジトリでブランチを作りそれぞれのブランチで実装作業を進めます。Webアプリの開発でも同様ですが、各ブランチでDBスキーマを変更する場合には注意が必要です。例えば、複数のブランチで同じテーブルのカラムを追加して使いたい場合や、DBスキーマの変更が競合する場合は、ブランチのマージ時に競合してしまいます。多くの機能を並行開発したり、マージするまでの期間が長い場合には、このような競合が増えてしまいます。
このトークでは、Djangoを例に、データベースマイグレーションの仕組みから、実際の開発現場で発生したトラブルとその解決方法について紹介します。
Migration strategies for parallel development of web applications
https://2021.pycon.jp/time-table/?id=273396
Webアプリ開発とデータベースマイグレーションには密接な関係があり、Pythonでよく採用されるDjangoやSQLAlchemyには、DBのスキーマを変更するマイグレーション機能があります。一般的に、プログラムを実装するときはリポジトリでブランチを作りそれぞれのブランチで実装作業を進めます。Webアプリの開発でも同様ですが、各ブランチでDBスキーマを変更する場合には注意が必要です。例えば、複数のブランチで同じテーブルのカラムを追加して使いたい場合や、DBスキーマの変更が競合する場合は、ブランチのマージ時に競合してしまいます。多くの機能を並行開発したり、マージするまでの期間が長い場合には、このような競合が増えてしまいます。
このトークでは、Djangoを例に、データベースマイグレーションの仕組みから、実際の開発現場で発生したトラブルとその解決方法について紹介します。
Migration strategies for parallel development of web applications
#8: Nog toevoegen – voorbeeld van feedback (goed en minder goed scorend ZH)
#9: 2 hospitals with AMR=100%. This need to be revalidated again! I took as denominator N beds. which most probably is the case
Rest of EU= minimum and maximum at country level (for Japan at hosp level)
#12: Remarkable many antimycotics (5% more as compared to BE data)
#14: All EU-data included (UN region)
Cefmetazole= 2nd gen cephalosporin; cefcapene=3rd gen cephalosporin
Includes top ten in Japan: lies above red line in table. These are supplemented with antibiotics which fall in the top ten for Europe (includes 6 supplementary antibiotics below red line in table)
#15: All EU-data included (UN region)
Cefmetazole= 2nd gen cephalosporin; cefcapene=3rd gen cephalosporin niet in lijst (voor JP slechts 1.6 % for each group (CAI. HAI and overall); oa used as SP (n=60)?
Includes top ten in Japan: lies above red line in table. These are supplemented with antibiotics which fall in the top ten for Europe (includes 6 supplementary antibiotics below red line in table)
#16: Nog toevoegen – voorbeeld van feedback (goed en minder goed scorend ZH)
#17: All EU-data included (UN region)
Cefmetazole= 2nd gen cephalosporin; cefcapene=3rd gen cephalosporin
Includes top ten in Japan: lies above red line in table. These are supplemented with antibiotics which fall in the top ten for Europe (includes 7 supplementary antibiotics below red line in table)
#19: Nog toevoegen – voorbeeld van feedback (goed en minder goed scorend ZH)