Comments (7)
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.
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:
from vocascan-server.
So .migrations is empty
and i used npm
from vocascan-server.
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.
Im following the installation and running it by "pm2 start vocascan-server -- web"
from vocascan-server.
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.
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)
- bug/cors-error HOT 1
- On login: error: Error: Object.fromEntries is not a function HOT 2
- version alignment instructions for server install HOT 5
- Update Swagger Documentation for password reset
- Route for checking duplicate vocabs HOT 10
- Add stats to group response HOT 2
- Routes for group specific vocab activation
- Add more configuration examples HOT 3
- Container crashes when using sqlite as DB dialect HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vocascan-server.