Rails + Postgres | Postgres.FM 086 |

Поделиться
HTML-код
  • Опубликовано: 3 ноя 2024

Комментарии • 11

  • @patrick99e99
    @patrick99e99 8 месяцев назад +3

    Just bought his book!

    • @andatki
      @andatki 8 месяцев назад

      Thanks so much!

  • @Drgnslyr123
    @Drgnslyr123 8 месяцев назад +1

    It's easier to make changes as a dev when you don't have to reverse walk the migrations to grab the latest source of truth.
    What I do is store all functions, tables, triggers, etc in separate files, then I have another file that determines the order and structure. It runs this into something called a shadow DB then we diff it with your live dev DB to generate migrations.

    • @andatki
      @andatki 8 месяцев назад

      Is this available as open source code? I am curious about the idea of a shadow DB and whether that makes the DX of schema evolution faster or easier. One practical limitation I've experienced is that making any schema changes requires having the full application environment installed and configured, and this tight coupling feels unnecessary in some scenarios.

  • @pycontiki
    @pycontiki 8 месяцев назад +1

    Does Andy know Obie?

  • @pycontiki
    @pycontiki 8 месяцев назад +1

    Rails? Nobody uses that 2007 technology anymore.
    Django & PostgreSQL is heaven ❤

    • @NikolaySamokhvalov
      @NikolaySamokhvalov 8 месяцев назад +1

      Well every time you commit code to GitHub or GitLab, guess what is being used;)

    • @michristofides
      @michristofides 8 месяцев назад

      Haha who should we invite on to discuss Django + PostgreSQL?

    • @pycontiki
      @pycontiki 8 месяцев назад

      @@NikolaySamokhvalovhaven’t both those sites suffered large hacks and database problems? 🤣🙄
      I know many people at GH, all good.

    • @andatki
      @andatki 8 месяцев назад +1

      @@michristofides Haki Benita could be a great guest to discuss Django and Rails!

    • @andatki
      @andatki 8 месяцев назад

      Interestingly, the Python language is even older than Ruby (1991 vs. 1995) and the Rails framework came out a bit before Django, around 2004 or 2005. Do you know of some things in Django for PostgreSQL that you prefer to what Rails offers? Always curious to see what things look like in other frameworks.