Comments (5)
Ummmm... what's the problem?
id BIGINT NOT NULL AUTO_INCREMENT
That seems to be the primary key
from framework.
Now I see that it is intentional - there is a comment to in Driver.scala that H2 creates a primary key when a column is AUTO_INCREMENT. I'm not so sure that's true though - looking into it now.
from framework.
I confirmed that this behavior was incorrect. Either the index should have a primary key constraint or it should use the PRIMARY KEY keywords in the CREATE TABLE statement. You can insert duplicate values into such columns. I went ahead and changed the flag in H2Driver so that it creates primary keys for you.
from framework.
Imported from GitHub: http://github.com/dpp/liftweb/issues/48/find
from framework.
Imported from Assembla: http://www.assembla.com/spaces/liftweb/tickets/48
from framework.
Related Issues (20)
- No clear migration path for lift-json library (Scala 2.10 -> 2.12) HOT 1
- The build lift instructions in Readme don't work HOT 3
- Project fails new git protocol security
- Project fails on Apple Silicone (aarch64)
- Update sbt-lift-build plugin
- scala-xml version incompatible with scala 2.12.17 HOT 4
- Lift 5: Support Scala 3 Exclusively HOT 1
- Lift 4: Support dpp's JSON macros
- Lift 4: Misc updates/enhancements
- Lift 4: interop with client side "single page" apps
- Lift 4: update dependencies HOT 1
- Lift 4: Web Sockets HOT 2
- Lift 4: Support for JSON columns in Mapper
- Lift4: Support for Env Vars in configuration HOT 5
- Middleware support for APIs and Stateful HTML processing
- Included JWT support
- Generation of OpenAPI Docs from code
- Ingestion of OpenAPI Docs to generate an API
- Removal of unmaintained components for which there are better alternatives these days HOT 3
- Rename "master" branch to "main" HOT 1
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 framework.