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
@Entity({ tableName: 'something' }) export class Something5 { @PrimaryKey({ primary: true }) id!: string; @Property({ autoincrement: true }) _id!: number; @Property() foo!: string; }
The schema created is
create table "something" ("id" varchar(255) not null, "_id" serial, "foo" varchar(255) not null);
The correct one should be
create table "something" ("id" varchar(255) not null, "_id" serial, "foo" varchar(255) not null, constraint "something_pkey" primary key ("id"));
The index was omitted to create in function
private createTable(tableDef: DatabaseTable): Knex.SchemaBuilder
Originally posted by @Jedliu in #3187 (comment)
The text was updated successfully, but these errors were encountered:
6c589b0
No branches or pull requests
The schema created is
The correct one should be
The index was omitted to create in function
Originally posted by @Jedliu in #3187 (comment)
The text was updated successfully, but these errors were encountered: