Giter Club home page Giter Club logo

Comments (5)

koutto avatar koutto commented on June 7, 2024 1

It is due to the fact I had to update the database architecture and add a new column (name_original) inside the "Service" table.
Therefore, it is required to start from a fresh local.db file if you want to use the latest sources... Just delete the "local.db" file and re-run Jok3r (it will re-create a database with all the tables and columns). Unfortunately, you lose all the data you had stored before.

If you want to keep the data, maybe you can manually add the new column with something like:
sqlite local.db
alter table services add column name_original char(100)

from jok3r.

koutto avatar koutto commented on June 7, 2024 1

Yes, and also perform a re-install of tools for which there has been a modification in install/update command in the toolbox.conf file.
Also, automating checks of correct install for each tool, based on exit code, as much as possible.
Goal would be to use Travis CI to perform automated check, and to automate deploy of updated image on Docker Hub if no error has been detected

from jok3r.

koutto avatar koutto commented on June 7, 2024

That's also why I am not updating the Docker image at the moment, because there are some modifications on the core going on, I will do it asap when it will become more stable !
Also working on a better way to perform update

from jok3r.

cyrinux avatar cyrinux commented on June 7, 2024

Thanks, i'm dumb sorry, i read the commit but don't realize you don't manage migartion yet. Do you plan to use something like https://pypi.org/project/alembic/ ?
I'm just working with for improve the tools with you for the moment, so don't worry :)

from jok3r.

cyrinux avatar cyrinux commented on June 7, 2024

I'm totally ok with this future workflow. We should also add some linting/code checker, eg black formatter.

from jok3r.

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.