Great! Thanks! Just started looking at PostgreSQL as an alternative to SQL Server
@edwinomargarciamendez4291 Жыл бұрын
Great Work!, You don't know how much this video tutorial has helped me to understand the Migrations Topic Keep the good work!
@scriptbytes Жыл бұрын
I appreciate it! I’m glad the video helped! Thanks for watching.
@s0ft4667 ай бұрын
Phenomenally explained! Thank you! Please make more videos, regarding other Postgres features that EF Migrations can handle (can it do triggers and storedprocs?)
@scriptbytes7 ай бұрын
Thank you. I may be doing more in the future, but yes, you can script things like stored procedures. Look into the MigrationBuilder.Sql(...) method. It allows you to run sql, which you can use to run your 'create procedure' scripts.
@dirkpostma77 Жыл бұрын
Great high quality explanation. Thanks!
@scriptbytes Жыл бұрын
You’re welcome, thanks for watching!
@JakoBowBeatz7 ай бұрын
Thanks for the Video very good explanation !
@rickmemmer562511 ай бұрын
Exceptional work! Thank you!!
@scriptbytes11 ай бұрын
Glad you enjoyed it!
@vivekmahajan67526 ай бұрын
Awesome video. Learnt so much :)
@ravanedaa6 ай бұрын
Amazing! Thanks and Congrats...
@wellingtonostemberg7585 Жыл бұрын
Saved my day!
@scriptbytes Жыл бұрын
I’m glad it helped!
@marcturelles76849 ай бұрын
Fantastic video
@scriptbytes9 ай бұрын
Thanks!
@firlytaufikurohman6922Ай бұрын
hi, i have some issue when i migrated with enum data type, inside my db it should be enum instead of int do you know how to fix that?
@MyPlaylist-xq8en9 ай бұрын
awesome guide!
@scriptbytes9 ай бұрын
Thanks!
@nusratchowdhury50 Жыл бұрын
It was an amazing migrations tutorial. Could you please make a tutorial for how to seed in a table? looking forward to seeing it. thanks again
@scriptbytes Жыл бұрын
That’s a great idea. I’ll add it to my list. Thanks for watching!
@scriptbytes Жыл бұрын
I put out a video today on seeding data. Let me know what you think!
@safyan_yaqoob9 ай бұрын
Thanks for sharing
@scriptbytes9 ай бұрын
Thanks for watching!
@texaslinux Жыл бұрын
This was incredibly helpful, thank you so much!
@scriptbytes Жыл бұрын
You’re welcome!
@saifumar30014 ай бұрын
Scripts @ 23:32 with -o and idempotent switch
@AliyProgrammer6 ай бұрын
hello I faced to this error how to fix dotnet ef migrations add initialMigration Could not execute because the specified command or file was not found. Possible reasons for this include: * You misspelled a built-in dotnet command. * You intended to execute a .NET program, but dotnet-ef does not exist. * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
@adam-xt8te7 ай бұрын
Do you run postgresql on production server as linux daemon or docker container?
@scriptbytes7 ай бұрын
It all depends on what you're comfortable with. I enjoy docker because it's easy to stand up a database with it. For production, depending on the size and demand, it might be worth looking into a service like Cloud SQL to host the DB as well.
@adam-xt8te7 ай бұрын
@@scriptbytes Is there a huge difference in performance and resource draining in these two approaches?
@scriptbytes7 ай бұрын
@@adam-xt8te I don't have enough experience with both to know if there's much of a difference. However from what I've seen from benchmark results, there's little to no difference between docker and native run postgres DB's. Not enough to matter for the vast majority of use cases anyways.
@amnashahid94644 ай бұрын
how to call sp in PostgreSQL that returns rows ?
@scriptbytes4 ай бұрын
You would probably want to use FromSql: learn.microsoft.com/en-us/ef/core/querying/sql-queries
@amnashahid94644 ай бұрын
@@scriptbytes thanks for ur reply. Actually I did use it. But in postgresql, if ur sp returns rows it has to have a refcursor which will contain rows and when u call sp from c# u need to run call ur_sp(params, 'cur'); fetch all in "cur". So this command not working if we use ef