We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple insert with a current_date default value in the pragma makes lithium generate this sql command below:
INSERT INTO "RecordHeaders" ("entryDate", "version","userID", "providerID") VALUES ('CURRENT_DATE', '1', '1', 'abc123');
the pragma:
CREATE TABLE "RecordHeaders" ( "id" INTEGER PRIMARY KEY NOT NULL , "entryDate" DATETIME NOT NULL DEFAULT (CURRENT_DATE) , "version" INTEGER NOT NULL DEFAULT (1) , "providerID" TEXT NOT NULL, "userID" INTEGER NOT NULL )
The text was updated successfully, but these errors were encountered:
Please show us your PHP code or try writing a test that shows this. thanks!
Sorry, something went wrong.
This issue seems to be similar to #28. Maybe we can kill two birds with one stone.
Fixed in #492. See there for new syntax.
No branches or pull requests
Simple insert with a current_date default value in the pragma makes lithium generate this sql command below:
the pragma:
The text was updated successfully, but these errors were encountered: