Comments (5)
Hey Arnaud, sorry about the late response. My internet was out for a few days, just got a replacement modem yesterday. Seems like all tables are created now, after running another minimal example and my web app. I even dropped one of the tables and reran the app and it created it again. I noticed that you upgraded to version 2 of the sqlite library sometime after I posted this issue, maybe that fixed it.
I'll reopen if it happens again.
from denodb.
If you have a bunch of models and only a couple of them are being made, a workaround can be to remove all the models from the array except for the one not being created, rerun and repeat for each model that wasn't created. Sometimes rerunning without modifying the array also creates one of the problematic models, but happens infrequently. I suspect some sort of race condition is happening here?
from denodb.
Hey James,
This is not normal and you made me very curious about why this is happening.
I know you said it happens with pretty much any model, but could you provide a little example I could run on my end? What database are you using?
If it's about a race condition indeed, this should be easily sorted out.
Please let me know :)
from denodb.
Hey James,
I still couldn't reproduce the issue, any other input on that?
Thank you
from denodb.
Thanks for the update, no worries.
See you around :)
from denodb.
Related Issues (20)
- Query always returns `undefined`. HOT 3
- Crashing when deployed to Deno Deploy HOT 2
- TLS connection failed with message: invalid peer certificate contents / PostgresError: no pg_hba.conf entry for host HOT 5
- Foreign key constraint name defaults to the name of the column
- Serialized Model option rather than classes?
- Can't import the latest version 1.0.40 HOT 5
- How to use denodb to connect to multiple postgresql databases having same models
- [Feature] Support SQL `SELECT DISTINCT`
- insert or update
- hash module break! HOT 4
- sqlite v3.1.3 not working on Windows
- Postgres Foreign Key is created with integer type by default HOT 2
- Timestamps
- Postgres connector makes the script unable to exit normally HOT 1
- How to set logging? HOT 2
- Postgresql: Timestamp fields adding hours each time records are updated
- Multiple Primary Key Exists HOT 1
- Some problems in model.ts
- A dependency is broken HOT 15
- Module not found "https://deno.land/std/node/events.ts". HOT 6
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 denodb.