Skip to content

Commit

Permalink
Node name unique index
Browse files Browse the repository at this point in the history
  • Loading branch information
Egemen Berker Kızılcan committed Nov 14, 2015
1 parent 7c89393 commit 6e4e203
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"laravel",
"laravel5"
],
"version": "1.0.3",
"version": "1.0.4",
"authors": [
{
"name": "Hyleeh",
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/HierarchyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class HierarchyServiceProvider extends ServiceProvider {

const version = '1.0.3';
const version = '1.0.4';

/**
* Register the service provider.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function up()
$table->integer('node_id')->unsigned()->nullable();

$table->string('title');
$table->string('node_name');
$table->string('node_name')->unique();
$table->string('locale', 16);
$table->string('source_type');

Expand Down

0 comments on commit 6e4e203

Please sign in to comment.