Browse Source

Make migration table column lengths more realistic.

Taylor Otwell 12 years ago
parent
commit
033455cc51
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/cli/tasks/migrate/migrator.php

+ 2 - 2
laravel/cli/tasks/migrate/migrator.php

@@ -154,9 +154,9 @@ class Migrator extends Task {
 			// the bundle name and string migration name as an unique ID
 			// for the migrations, allowing us to easily identify which
 			// migrations have been run for each bundle.
-			$table->string('bundle');
+			$table->string('bundle', 50);
 
-			$table->string('name');
+			$table->string('name', 200);
 
 			// When running a migration command, we will store a batch
 			// ID with each of the rows on the table. This will allow