Giter Club home page Giter Club logo

Comments (5)

mikezaschka avatar mikezaschka commented on September 15, 2024 1

Reference commit: 41cd76a

@gregorwolf
The issue should be fixed in version 0.0.20. I am now safely handling cascading views on create and drop. Tested also with your beershop and worked for me.

from cds-dbm.

vobu avatar vobu commented on September 15, 2024

might not be an issue with cds-dbm. had a similar issue w/o it - root cause was the docker volume. manually deleted it, all good afterwards.

from cds-dbm.

mikezaschka avatar mikezaschka commented on September 15, 2024

It's an issue with cds-dbm:
Internally I am creating a liquibase changelog, that I have to manually reorder before deploying to the database. It seems, that dependent views are not being handled correctly when they are dropped. I am already checking for references when creating views and I am going to add this kind of check for drop statements as well.

Relevant code part is here:
https://github.com/mikezaschka/cds-dbm/blob/main/src/ChangeLog.ts#L35

from cds-dbm.

mikezaschka avatar mikezaschka commented on September 15, 2024

It should also work with the latest @sap/cds releases (4.4.4 and 4.4.6).

from cds-dbm.

gregorwolf avatar gregorwolf commented on September 15, 2024

Thank you. Works now like a charm.

from cds-dbm.

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.