Skip to content

Commit 5d11c25

Browse files
committed
Changing length of the name and slug columns to 125
1 parent b9af581 commit 5d11c25

3 files changed

+7
-7
lines changed

migrations/2014_01_07_073615_create_tagged_table.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ public function up() {
1313
} else {
1414
$table->integer('taggable_id')->unsigned()->index();
1515
}
16-
$table->string('taggable_type', 255)->index();
17-
$table->string('tag_name', 255);
18-
$table->string('tag_slug', 255)->index();
16+
$table->string('taggable_type', 125)->index();
17+
$table->string('tag_name', 125);
18+
$table->string('tag_slug', 125)->index();
1919
});
2020
}
2121

migrations/2014_01_07_073615_create_tags_table.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ public function up()
99
{
1010
Schema::create('tagging_tags', function(Blueprint $table) {
1111
$table->increments('id');
12-
$table->string('slug', 255)->index();
13-
$table->string('name', 255);
12+
$table->string('slug', 125)->index();
13+
$table->string('name', 125);
1414
$table->boolean('suggest')->default(false);
1515
$table->integer('count')->unsigned()->default(0); // count of how many times this tag was used
1616
});

migrations/2016_06_29_073615_create_tag_groups_table.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ public function up()
99
{
1010
Schema::create('tagging_tag_groups', function(Blueprint $table) {
1111
$table->increments('id');
12-
$table->string('slug', 255)->index();
13-
$table->string('name', 255);
12+
$table->string('slug', 125)->index();
13+
$table->string('name', 125);
1414
});
1515
}
1616

0 commit comments

Comments
 (0)