Git Product home page Git Product logo

Comments (7)

jakublipinski avatar jakublipinski commented on June 2, 2024

Wdrożyłem 3 zaległe migracje na prod.

from pola-backend.

mik-laj avatar mik-laj commented on June 2, 2024

Ale do tego kodu migracji nie napisałem. Ja na razie ten index założyłem przez heroku plsql. Te migracje co wdrożyłeś to były widocznie jakieś bardzo stare, ale one nie dotyczą tej kwestii.

Teraz jak chcesz to musisz dopiero ząłożyć migracje w kodzie, zdjąc index, przepuścić migracje.

from pola-backend.

jakublipinski avatar jakublipinski commented on June 2, 2024

OK, to źle zrobumiałem to zadanie. Nie wiem o co cho, otwieram

from pola-backend.

mik-laj avatar mik-laj commented on June 2, 2024

Dzisiejsze twoje wibracje to

 id |      app      |                   name                   |            applied
----+---------------+------------------------------------------+-------------------------------
 62 | auth          | 0009_alter_user_last_name_max_length     | 2018-05-09 10:18:57.404633+00
 63 | pola          | 0005_auto_20171225_1632                  | 2018-05-09 10:18:57.696632+00
 64 | users         | 0002_auto_20171225_1632                  | 2018-05-09 10:18:59.014054+00

from pola-backend.

mik-laj avatar mik-laj commented on June 2, 2024

Teraz trzeba po prostu zrobić kod migracji, aby one były w kodzie zródłowym. Wiadomo, że na bazie się nie powinno operować bezpośrednio. Tutaj musiałem, aby nie kopiować danych, bo nie miałem zasobów. Okazało się moje eksperymenty zakończyły się sukcesem to nie kasowałem indexu, ale trzeba przywrócić sytuacje do porzadku, aby zarządzaniem kodem zajmował się tylko Django.

from pola-backend.

jakublipinski avatar jakublipinski commented on June 2, 2024

Rozumiem, że to zadanie jest notatką, którą sobie zrobiłeś. Unsubscribe

from pola-backend.

mik-laj avatar mik-laj commented on June 2, 2024

Trochę tak, ale każdy może napisać kod migracji i wrzucić.

from pola-backend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.