-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/adapt drizzle kit #7
Conversation
console.log(wrapParam('host', options.host)); | ||
console.log(wrapParam('port', options.port, true)); | ||
console.log(wrapParam('user', options.user, true)); | ||
console.log(wrapParam('password', options.password, true, 'secret')); |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information High
an access to password
|
||
statement += it.generated | ||
? `.generatedAlwaysAs(sql\`${ | ||
it.generated.as.replace( |
Check failure
Code scanning / CodeQL
Incomplete string escaping or encoding High
`singlestore://${credentials.user}:${credentials.password}@${credentials.host}:${credentials.port}/${credentials.database}`; | ||
} | ||
|
||
const dbHash = createHash('sha256').update(dbUrl).digest('hex'); |
Check failure
Code scanning / CodeQL
Use of password hash with insufficient computational effort High
an access to password
5fc2bec
to
8084ad6
Compare
Description
This PR allows us to generate migrations via
generateSingleStoreTable
, via Drizzle migrations, which was not possible previously. For the hackathon, we were either creating the tables and the schema on SingleStore Portal or via thegenerateMySqlTable
function.We still need to add the new columns support to the 'drizzle-kit`.
Work done
mysql2
version from 2.3.3 to 3.3.3 to be compatible with the[email protected]
used in thedrizzle-orm/singlestore
Test Pipeline
Future Work
Allow drizzle-kit to support singlestore types: