スキーママイグレーション入門

This video features 金子亮佑 at DjangoCongress JP 2022 in Tokyo, Japan.

スキーママイグレーション入門
0:46:19
Published December 22, 2022
26 views

#django #python #programming

金子亮佑

Djangoを使用する魅力として強力なスキーママイグレーション機能があります.
他のフレームワークの使用経験もありますが、Djangoほど洗練されたスキーママイグレーション機能を持つフレームワークはありません.
しかし、正しいワークフローに従わないと、そのパワーを使いこなせないどころか、意図しないデータベースの状態を作り出してしまいます.
この発表では、マイグレーションの実行中に何が起きるのか、マイグレーションファイルとは何なのか、それに準じた正しいワークフローについて解説します.

Transcript

1,373 words · auto-generated Show

Automatically transcribed, so expect mistakes in names and technical terms.

0:11

Speaker 1: Thank you, Max. Yeah, anybody could I guess good one about the winning.

2:06

Speaker 1: It does not kawada shit on the day, or Tashino Goto Moskash did a comushi nice And to the such good ones, to this mean who don't want this mean to standard to Kaisan of Hodisme. To around the project, we manage the olimas.

3:15

Speaker 1: Yeah , it's a bon angel and Django framework, but I have to make that. I have to say that I 'll start okay and Susan de Ori Masne. Hi. Hi. They do this.

4:11

Speaker 1: Jumpers and modelo take must. Quick the kinotes go to the kinyano kinotaja , women not the masano de kino de anno sonokino e kidio, not the oddimas. The moderate toes on the table no token, no colour.

5:07

Speaker 1: А ну баганду сказал инженер Баутасистори , аташикат зем кайте, воды прошли монтувадеки. And we over the killer. Hi , the tutorial sous anterior.

7:59

Speaker 1: The Gukasha is a nantoshinku. Um table take on the Sai Shallotash to Kwani Mashta, Nanka. Tavratskritagito, scheme of Henkus to make up. Hi, this is not a thought of Karamotze Kashemo no animal kiva se ano soit anno di de anno karamutse kashtaito canjista.

9:08

Speaker 1: The Shiga Ari Master. Suttu my kyllä muskaista tulpaa tänne annua sen äkkiä. Hi , to this name. I couldn't have to can't leave this

9:54

Speaker 1: modelo this night.

10:46

Speaker 1: Migration t crasto nakan kuchyka kujuta. Dude se ne to quello che onda dove stanno I did this me either. Skill migrate or do you know this name?

11:34

Speaker 1: Create a model customer , commentary machine. The object of such a no. So you want to use the quick table, no credible and I wouldn't have been a little bit of a good idea. This one

13:02

Speaker 1: So they got database and touched there. Ui , tu adici a poi la messa It's totally GTP round scam game to me, no signal.

13:51

Speaker 1: I ma uhunatano listening. Show tables table, I know, create your Este amor junto a ideia to ginin. Mai greto. Smasar. Langway tosimas too, carits me, lo detectisme. Yeah, you can study must.

14:37

Speaker 1: They could much down the database and think about it. Hi, put it there, it must buy a scale of sheriff. They are meet could have been on this to her. It's a genius. So Modelu on Squita.

15:27

Speaker 1: the migration. But do you feel now

16:20

Speaker 1: What's this name? Yes, also this name. The give me this name. So this is no migration need on bats to what's in bats to the

17:30

Speaker 1: The demo banbook are messed up with a seeker. I'm high room this way. You lose you like in a way Typologic to my standard soda to this new.

18:23

Speaker 1: Make migrations or 00 me as come out till the migration higher. The Sonoju ID and to show migrations

19:14

Speaker 1: But the mighty great of the command of must be a good idea. Okay , the migration appropriate migration fibers and You could not do that. So migration is a guess It's all you can say to every other

20:02

Speaker 1: quick question. Oh, yeah, to this name. It 's anywhere to mean

20:48

Speaker 1: must get the karam alumisga. Modorita migration. perché ho sarebbe il nome di comodo e lo verificare, inizialmente. Che cosa mastore? But you should say

21:33

Speaker 1: this. The model would have it. So on the idea. Muy chill is a minute. Show migration will take mass oh 00 in customer tour numbers here.

22:31

Speaker 1: And the cai sell this name and to come down this name. open IMAS. Modeling file to speak. Model take in a hengo which amounted about the way to take a side.

23:21

Speaker 1: So we got this database to think of the microst on file and joy. They couldn't count the hidden designer.

24:22

Speaker 1: It's only company. Migration no, it's a kidano. Database looks like the meeting title. I just go see my share and make it a mess.

25:07

Speaker 1: Yeah. Hi , to this creation , not coming in animasu.

26:05

Speaker 1: It to gigarason, migration five in seek, the mute of kaku into chill to him , putting this The migration files are not division. The Mamaya stated on it.

26:52

Speaker 1: And the country is to a discretion. The migration file comes to meeting must be on this game.

27:48

Speaker 1: No god, took any bracket to a coronary. Migration from migration file do it, the source hours and the first time. Hi.

28:45

Speaker 1: For migration fire too. Migration should get the more we take that. Now no day I believe you want to cut a child. We have dependencies , the Korea.

29:33

Speaker 1: It we put this guy in today's name. So we are the sneak. So the country on this guy , the migration file , or must the master. Uh no, Krason amid a picture to Hakidash Taiwan, nay you not demo. It is their only fire up there. It comes off iron for initially got to do the dependencies and night.

30:18

Speaker 1: The Nicomino file , depending on she's a hot city on a joke or this to me of this, eh? Migration Nikko is on state, you know, or the state mass. It 's in the master. I know I'm kudoy on the kid's next way to do.

31:06

Speaker 1: Operations. Operations. Operations , and not the moderate chica , or chut, chigatay.

31:52

Speaker 1: The Korea Musikashtan Bakole. And to ginger can't get it, I'm which we got it.

32:39

Speaker 1: The A to this took another migration file and this gate amount. It to the same as a main branch de branchy each need that day, could you like some, coach and migration high room, could chitok, could chill us. So , you can see that the other one is a good idea.

33:30

Speaker 1: The jokey on the animus. The cono jokey of dear. They couldn't go to the quite green disagreement. Uh no migration to go to the donic state. Two fixes then run the by some manage by make migrations wrong. This is not

34:16

Speaker 1: another listen. The Koloji Major Auto Middle E migration file is on the Konoyonsky. Because we to take it a kaish of the time.

35:31

Speaker 1: It to this manage by make a migration those Salita, hengo listen. She arrives on a migration of higher. Hi. It's an okay , you have seen you na nota to the same. So then such about the migration

36:17

Speaker 1: fire when I come in. And it can you took this me. The Kurovai Max Ring is a young day.

37:04

Speaker 1: This year is going on object to another lake. The Korea has said the duang team to Stanorene in Domishi Massana.

37:51

Speaker 1: The coconut 's name on code of the bar. If you just hit this topologi, and to conmodel that's great at the king , you can't be able to do that. And the question value era , can 't to share as a function, the dishes. It's just a lambda, the name of one cider against the canoe.

38:41

Speaker 1: Not this my mas. And the truth to go ahead, you guys, how do you show it?

39:34

Speaker 1: The holy good send the high mass like us. Data, this is a database and not data migration. But they but you be non go around high on the committee.

40:21

Speaker 1: Știți, știți co îl top? În cuite congelă, caranu, mai greșe un failure de chimas. It operations by some crasto atosology kosh tai company on today.

41:10

Speaker 1: Django project of Amid there, to hold out the congratulation can go. Yeah, moderate hand over success of the migration. Yet the economy or she can't do it. The staging device is about automated database of a cup of stair, program of course in the coast.

42:05

Speaker 1: The Sashidikyvatashiwang it to Yukon, stay date to share. Hi. Sakin of Django Migration Table to Kis Kakai to Ka migration fire which the Hosonish.

42:55

Speaker 1: Two migration killed this. Adiós, those I must start.

43:35

Speaker 2: Are you a those I must start? Eto, onda.

44:26

Speaker 2: It

44:27

Speaker 1: to look at note, it's got much remaining this guy.

45:22

Speaker 2: Migration, we have to do that. So now if you though mostly harm is day, migration by shut day, it's should they cover the kutum.

45:51

Speaker 1: And to I say I know my skill that to I know and to Lord book to the time. So we're saying alietho d'amo star.

Presenters

Note: We understand that names change, people change, and bodies change. We respect each individual's journey and privacy. If you have any concerns about a video or need us to remove content, please don't hesitate to contact us. We will handle your request with care and promptly address any issues.

More videos from DjangoCongress JP