Giter Club home page Giter Club logo

Comments (7)

luwol03 avatar luwol03 commented on June 16, 2024

Hello @Malta112,

can you please explain what you did that you got that error and how you attempted the install? And can you verify if the migrations already run by looking for any tables in your db. Especially there should be a table named .migrations, if so please post the records that are in there.

from vocascan-server.

Malta112 avatar Malta112 commented on June 16, 2024

I Just followed the instructions to install the backend and there was never a way to create the database and i started the backend but it created only two strange tables:
image

from vocascan-server.

Malta112 avatar Malta112 commented on June 16, 2024

image
So .migrations is empty
and i used npm

from vocascan-server.

luwol03 avatar luwol03 commented on June 16, 2024

Yes, they should be created automatically on start. Please show the full log if you run the server and please also provide some information how you run vocascan-server.

from vocascan-server.

Malta112 avatar Malta112 commented on June 16, 2024

Im following the installation and running it by "pm2 start vocascan-server -- web"

from vocascan-server.

Malta112 avatar Malta112 commented on June 16, 2024

GNU nano 6.2 vocascan.log.gz
info: migrating...
Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = '.migrations' AND TABLE_S>
Executing (default): SHOW INDEX FROM .migrations
Executing (default): SELECT name, createdAt, updatedAt FROM .migrations AS .migrations ORDER BY .migrations.name ASC;
info: ✓ migrating done in (93.873ms)
Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = '.seeders' AND TABLE_SCHE>
info: seeding...
Executing (default): SHOW INDEX FROM .seeders
Executing (default): SELECT name, createdAt, updatedAt FROM .seeders AS .seeders ORDER BY .seeders.name ASC;
info: ✓ seeding done in (9.39ms)
info: Server is running on port 5000.

from vocascan-server.

noctera avatar noctera commented on June 16, 2024

Seems like the migrations are running perfectly.
@luwol03 might this be a mysql specific problem with any type of unknown name resolving? As far as I know we have never tested MySql explicitly, but I know that there might be some differences in the ORM

from vocascan-server.

Related Issues (10)

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.