-
Notifications
You must be signed in to change notification settings - Fork 112
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
Biigint ftw wave 2 #9170
Biigint ftw wave 2 #9170
Conversation
autoIncrement: true, | ||
primaryKey: true, | ||
}, | ||
connectorId: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed since we have a relationship defined below.
PMRR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 💪🏼
* A wrapper class that enforces BIGINT for all model primary keys. | ||
* All models should extend this class instead of Sequelize's Model. | ||
*/ | ||
export class BaseModel<M extends Model> extends Model< |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
Description
Applies the same logic as #9164 but for the connectors database.
All the tables have been migrated to BigInt in production.
Risk
Deploy Plan
No migrations required to be run.