flexxnn/sequelize-auto-migrations 232
Migration generator && runner for sequelize
A relational database for embedded devices and sensors nodes
Command line utility for ttag translation library
issue openedflexxnn/sequelize-auto-migrations
Is it possible to tell the package where to look for the models folder?
I have a ts project, which is structured like this:
root/ts root/js root/node_modules
I ran sequelize init inside ts because I want to have my models in there. How can I now tell auto-migrations to look in ts for the models folder?
created time in 18 hours
fork mzavaletavargas/sequelize-auto-migrations
Migration generator && runner for sequelize
fork in a day
startedflexxnn/sequelize-auto-migrations
started time in 3 days
fork undefinedfunction/sequelize-auto-migrations
Migration generator && runner for sequelize
fork in 6 days
startedNateTheGreatt/bitECS
started time in 7 days
startedDidierRLopes/GamestonkTerminal
started time in 7 days
fork Paul-Hilt/sequelize-auto-migrations
Migration generator && runner for sequelize
fork in 11 days
starteddolevf/Damn-Vulnerable-GraphQL-Application
started time in 13 days
startedlelinhtinh/de4js
started time in 13 days
startedthomasdondorf/puppeteer-cluster
started time in 13 days
startedflexxnn/sequelize-auto-migrations
started time in 15 days
startedjonasstrehle/supercookie
started time in 21 days
startedflexxnn/sequelize-auto-migrations
started time in a month
startedflexxnn/sequelize-auto-migrations
started time in a month
startedflexxnn/sequelize-auto-migrations
started time in a month
startedgmac/schema-stitching-handbook
started time in a month
startedflexxnn/sequelize-auto-migrations
started time in 2 months
issue commentflexxnn/sequelize-auto-migrations
Doesn't generate field information
This repo is dead and not being maintained anymore. Head over to https://github.com/MRVMV/sequelize-mig fork which is being actively maintained.
comment created time in 2 months
fork rijad998/sequelize-auto-migrations
Migration generator && runner for sequelize
fork in 2 months
issue openedflexxnn/sequelize-auto-migrations
runmigration fails with UNIQUE KEY `PRIMARY` index
If I add explicitly the primary index I get an error of wrong name.
Example:
{ fn: "addIndex", params: [ "admins", [{ "name": "id" }], { "indexName": "PRIMARY", "name": "PRIMARY", "indicesType": "UNIQUE", "type": "UNIQUE" } ] },
Error:
Executing (default): ALTER TABLE
adminsADD UNIQUE INDEX
PRIMARY(
id) DatabaseError [SequelizeDatabaseError]: Incorrect index name 'PRIMARY' at Query.formatError (/node_modules/sequelize/lib/dialects/mysql/query.js:239:16) at Query.run (/node_modules/sequelize/lib/dialects/mysql/query.js:54:18) at processTicksAndRejections (internal/process/task_queues.js:97:5) { parent: Error: Incorrect index name 'PRIMARY' at Packet.asError (/node_modules/mysql2/lib/packets/packet.js:712:17) at Query.execute (/node_modules/mysql2/lib/commands/command.js:28:26) at Connection.handlePacket (/node_modules/mysql2/lib/connection.js:425:32) at PacketParser.onPacket (/node_modules/mysql2/lib/connection.js:75:12) at PacketParser.executeStart (/node_modules/mysql2/lib/packet_parser.js:75:16) at Socket.<anonymous> (/node_modules/mysql2/lib/connection.js:82:25) at Socket.emit (events.js:314:20) at addChunk (_stream_readable.js:298:12) at readableAddChunk (_stream_readable.js:273:9) at Socket.Readable.push (_stream_readable.js:214:10) at TCP.onStreamRead (internal/stream_base_commons.js:188:23) { code: 'ER_WRONG_NAME_FOR_INDEX', errno: 1280, sqlState: '42000', sqlMessage: "Incorrect index name 'PRIMARY'", sql: 'ALTER TABLE
adminsADD UNIQUE INDEX
PRIMARY(
id)', parameters: undefined }, original: Error: Incorrect index name 'PRIMARY' at Packet.asError (/node_modules/mysql2/lib/packets/packet.js:712:17) at Query.execute (/node_modules/mysql2/lib/commands/command.js:28:26) at Connection.handlePacket (/node_modules/mysql2/lib/connection.js:425:32) at PacketParser.onPacket (/node_modules/mysql2/lib/connection.js:75:12) at PacketParser.executeStart (/node_modules/mysql2/lib/packet_parser.js:75:16) at Socket.<anonymous> (/node_modules/mysql2/lib/connection.js:82:25) at Socket.emit (events.js:314:20) at addChunk (_stream_readable.js:298:12) at readableAddChunk (_stream_readable.js:273:9) at Socket.Readable.push (_stream_readable.js:214:10) at TCP.onStreamRead (internal/stream_base_commons.js:188:23) { code: 'ER_WRONG_NAME_FOR_INDEX', errno: 1280, sqlState: '42000', sqlMessage: "Incorrect index name 'PRIMARY'", sql: 'ALTER TABLE
adminsADD UNIQUE INDEX
PRIMARY(
id)', parameters: undefined }, sql: 'ALTER TABLE
adminsADD UNIQUE INDEX
PRIMARY(
id)', parameters: undefined }
When I clean all 'PRIMARY' records on migration, I don't get that error.
And I think it should be repaired because I'm using this tool with sequelize-auto to generate the models, and it generates this index explicitly. So both wouldn't be compatible.
created time in 2 months
startedflexxnn/sequelize-auto-migrations
started time in 2 months
fork JRasmusBm/sequelize-auto-migrations
Migration generator && runner for sequelize
fork in 2 months
startedflexxnn/sequelize-auto-migrations
started time in 3 months
create barnchflexxnn/sequelize-auto-migrations
branch : dependabot/npm_and_yarn/example/ini-1.3.7
created branch time in 3 months
PR opened flexxnn/sequelize-auto-migrations
Bumps ini from 1.3.5 to 1.3.7. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/npm/ini/commit/c74c8af35f32b801a7e82a8309eab792a95932f6"><code>c74c8af</code></a> 1.3.7</li> <li><a href="https://github.com/npm/ini/commit/024b8b55ac1c980c6225607b007714c54eb501ba"><code>024b8b5</code></a> update deps, add linting</li> <li><a href="https://github.com/npm/ini/commit/032fbaf5f0b98fce70c8cc380e0d05177a9c9073"><code>032fbaf</code></a> Use Object.create(null) to avoid default object property hazards</li> <li><a href="https://github.com/npm/ini/commit/2da90391ef70db41d10f013e3a87f9a8c5d01a72"><code>2da9039</code></a> 1.3.6</li> <li><a href="https://github.com/npm/ini/commit/cfea636f534b5ca7550d2c28b7d1a95d936d56c6"><code>cfea636</code></a> better git push script, before publish instead of after</li> <li><a href="https://github.com/npm/ini/commit/56d2805e07ccd94e2ba0984ac9240ff02d44b6f1"><code>56d2805</code></a> do not allow invalid hazardous string as section name</li> <li>See full diff in <a href="https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~isaacs">isaacs</a>, a new releaser for ini since your current version.</p> </details> <br />
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
<details> <summary>Dependabot commands and options</summary> <br />
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.
</details>
pr created time in 3 months
fork blendsegypt/sequelize-auto-migrations
Migration generator && runner for sequelize
fork in 3 months