Skip to content

Commit

Permalink
Changing length of the name and slug columns to 125
Browse files Browse the repository at this point in the history
  • Loading branch information
imanghafoori1 committed Aug 28, 2017
1 parent b9af581 commit 5d11c25
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions migrations/2014_01_07_073615_create_tagged_table.php
Expand Up @@ -13,9 +13,9 @@ public function up() {
} else {
$table->integer('taggable_id')->unsigned()->index();
}
$table->string('taggable_type', 255)->index();
$table->string('tag_name', 255);
$table->string('tag_slug', 255)->index();
$table->string('taggable_type', 125)->index();
$table->string('tag_name', 125);
$table->string('tag_slug', 125)->index();
});
}

Expand Down
4 changes: 2 additions & 2 deletions migrations/2014_01_07_073615_create_tags_table.php
Expand Up @@ -9,8 +9,8 @@ public function up()
{
Schema::create('tagging_tags', function(Blueprint $table) {
$table->increments('id');
$table->string('slug', 255)->index();
$table->string('name', 255);
$table->string('slug', 125)->index();
$table->string('name', 125);
$table->boolean('suggest')->default(false);
$table->integer('count')->unsigned()->default(0); // count of how many times this tag was used
});
Expand Down
4 changes: 2 additions & 2 deletions migrations/2016_06_29_073615_create_tag_groups_table.php
Expand Up @@ -9,8 +9,8 @@ public function up()
{
Schema::create('tagging_tag_groups', function(Blueprint $table) {
$table->increments('id');
$table->string('slug', 255)->index();
$table->string('name', 255);
$table->string('slug', 125)->index();
$table->string('name', 125);
});
}

Expand Down

0 comments on commit 5d11c25

Please sign in to comment.