Skip to content

Instantly share code, notes, and snippets.

@cmcavoy
Last active December 18, 2015 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmcavoy/5724345 to your computer and use it in GitHub Desktop.
Save cmcavoy/5724345 to your computer and use it in GitHub Desktop.
mysql> show tables;
+----------------+
| Tables_in_csol |
+----------------+
| Applications |
| Claims |
| Evidences |
| Favorites |
| Guardians |
| Learners |
| PasswordTokens |
| Playlists |
| SequelizeMeta |
| SignupTokens |
+----------------+
10 rows in set (0.00 sec)
$ node bin/migrate-db
Executing: CREATE TABLE IF NOT EXISTS `SequelizeMeta` (`from` VARCHAR(255), `to` VARCHAR(255), `id` INTEGER NOT NULL auto_increment , PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Executing: SELECT * FROM `SequelizeMeta` ORDER BY id DESC LIMIT 1;
Executing migration: 20130531084137-add-token-last-reminder.js
Executing: ALTER TABLE `signuptokens` ADD `lastReminder` DATETIME;
Executed migration: 20130531084137-add-token-last-reminder.js
Executing migration: 20130531165656-add-reviews-to-applications.js
Executed migration: 20130531165656-add-reviews-to-applications.js
Executing migration: 20130531222314-add-guardian-denial-state.js
Executed migration: 20130531222314-add-guardian-denial-state.js
Executing migration: 20130602230835-add-unique-idx-to-favorites.js
Executed migration: 20130602230835-add-unique-idx-to-favorites.js
Executing migration: 20130604142742-add-playlist-unique-index.js
Executed migration: 20130604142742-add-playlist-unique-index.js
Executing migration: 20130604225500-add-birthday-to-learner.js
Executed migration: 20130604225500-add-birthday-to-learner.js
Migration error: [ { [Error: ER_NO_SUCH_TABLE: Table 'csol.signuptokens' doesn't exist] code: 'ER_NO_SUCH_TABLE', index: 0 },
'Skipped due to earlier error!',
'Skipped due to earlier error!',
'Skipped due to earlier error!',
'Skipped due to earlier error!',
'Skipped due to earlier error!' ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment