diff --git a/database/migrations/2016_07_09_054503_fix_artist_autoindex_value.php b/database/migrations/2016_07_09_054503_fix_artist_autoindex_value.php new file mode 100644 index 00000000..e62926e0 --- /dev/null +++ b/database/migrations/2016_07_09_054503_fix_artist_autoindex_value.php @@ -0,0 +1,36 @@ +first(); + DB::statement("ALTER TABLE artists AUTO_INCREMENT=".($latestArtist->id + 1)); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } +}