Giter VIP home page Giter VIP logo

Comments (4)

LBiv avatar LBiv commented on August 20, 2024

I think more specifically we need to find where in the project the sql tables are initialized, since we need a new column.

edit:
We then need to introduce some logic to create new verification tokens for when old users login.

from magma.

kenthawk avatar kenthawk commented on August 20, 2024

There will be table modifications for the migration strategy; a different table configuration while the server is in that mode of accepting legacy logins, converting them to stacie auth and storing the stacie related item(s?). Then another table modification in a future configuration where there isn't the cruft left over from the migration process (the old login credentials). So, the tables and the data contained within will go through more than a single change. Which was why I added this issue. There may be a larger need for scripts to assist with the migration(s). Maybe there's no need to write a script for this. This item is here in case we need to consider adding a script.

from magma.

LBiv avatar LBiv commented on August 20, 2024

schema.init is the script that currently initializes all the required tables.

It calls multiple *.sql files that exist in the project. Ladar recommended MySQL workbench, downloadable from mysql.com to as a gui tool for schema editing.

from magma.

kenthawk avatar kenthawk commented on August 20, 2024

Zach updated schema.init, added columns to the user-table db as needed to integrate Ivan's STACIE updated. The immediate need that this issue was related to is resolved. Issues remain that are related to migration strategy but it's unclear how those issues might drive more updates to the sql tables for now. Open new issues as they become issues after defining a course for migration.

from magma.

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.