10000 fix: INTEGER like data type and STRING extra options didn't work in polymorphism, fix decorators ColumnOptions.type to support invokable by JimmyDaddy · Pull Request #334 · cyjake/leoric · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: INTEGER like data type and STRING extra options didn't work in polymorphism, fix decorators ColumnOptions.type to support invokable #334

New issue

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

Merged
merged 1 commit into from
Aug 24, 2022

Conversation

JimmyDaddy
Copy link
Collaborator
  • INTEGER like data type and STRING extra options didn't work in polymorphism
// `idd` INTEGER(2) UNSIGNED
new Attribute('idd', { type: new INTEGER(2).UNSIGNED }).toSqlString();
//`isbn` VARCHAR(60)
new Attribute('isbn', { type: new STRING(60) }).toSqlString();
  • fix decorators ColumnOptions.type to support invokable
@Column({
  type: STRING
})
body: string;

@Column({
  type: STRING(64)
})
description: string;

@Column({
  type: INTEGER(2).UNSIGNED,
})
status: number;

…olymorphism, fix decorators ColumnOptions.type to support invokable
@cyjake cyjake merged commit 98c868c into master Aug 24, 2022
@cyjake cyjake deleted the fix/integer_and_string_options branch August 24, 2022 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0