Comments (10)
Thanks, on it's way
from lumber.
Hey @solocreativeco ! Thanks for report the issue.
One of your generated model relationship (models/
) seems to be incorrect :( Do you have the database (sample data or empty) to share? Then I'll be able to reproduce the issue on my side.
Thanks!
from lumber.
@SeyZ I wonder if it's because I have more than one foreign key on most tables along with cascade update and delete turned on. I could send you the database structure. I'm also using pgcrypto to generate UUIDs.
from lumber.
Hey @solocreativeco The database structure would be awesome, not need to have data! Is it possible?
from lumber.
@SeyZ What's the best way to get that to you?
from lumber.
@solocreativeco [email protected]
from lumber.
Also running into this issue with a Postgres database. Like solocreativeco, I'm using a custom PG function to generate IDs.
from lumber.
I have encountered this same issue using MySQL, with the admin panel and DB all running locally. Seems to be related to my database design as I get now issues with a new database with a single empty table.
Using Lumber 1.14.2 and MySQL 5.7
from lumber.
This issue is due to the id field not conventional. We need to fix it @SeyZ.
For now if you want to fix your issue it seems that specifying works for me (Especially inside models/advertisements
) @SteveMGits:
'Id': {
type: DataTypes.Integer,
primaryKey: true,
autoincrement: true,
},
from lumber.
@VincentMolinie thanks for the followup! Should I create a new issue then? Or, if one already exists, would you please share it? We're definitely interested in the product but I know we want to use UUIDs as our primary keys.
from lumber.
Related Issues (20)
- test-panel docker-compose app fails to start with a sequelize exception
- All of the feature links are broken(not found) on your github homepage HOT 1
- Lumber generate error: MongoError: value too large to reduce
- Extending rich text editor HOT 1
- There is no images inside https://docs.forestadmin.com/documentation/reference-guide/models HOT 1
- PostgreSQL, Generate a new backend application -> Error HOT 3
- DATABASE_URL hard-coded in docker-compose.yml HOT 1
- view codes does not work HOT 2
- Stuck Connection to database HOT 7
- Lumber not allowing pass-through of dialectOptions for Sequelize HOT 13
- (node:89175) UnhandledPromiseRejectionWarning: SequelizeAccessDeniedError: Access denied for user 'samplebloguser'@'localhost' (using password: YES) at ConnectionManager.connect HOT 1
- CRUD on mongoose dataBase with deepObject display "[Object, Object]" HOT 2
- Are there any plans to use typescript for Lumber, or are there any options there HOT 4
- Lumber generate fails with "Your database looks empty! Please create some collections before running the command."
- The automated release is failing 🚨
- Using GraphQL API as datasource
- Fix audit vulnerabilities for lodash and handlebars HOT 2
- Consider adding the Z SELinux label to the docker installation script
- throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))
- Error
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 lumber.