Skip to content

Commit

Permalink
Merge pull request #6 from euantorano/fix-5-use-eloquent-repositories
Browse files Browse the repository at this point in the history
Using Eloquent for #5.
  • Loading branch information
euantorano committed Jun 14, 2015
2 parents d64364a + 4c22835 commit 79328c9
Show file tree
Hide file tree
Showing 32 changed files with 1,032 additions and 604 deletions.
87 changes: 45 additions & 42 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class CreateParserBadwordsTable extends Migration
public function up()
{
Schema::create('parser_badwords', function (Blueprint $table) {
$table->increments('bid');
$table->increments('id');
$table->string('find', 100);
$table->string('replace', 100)->nullable();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class CreateParserMycodeTable extends Migration
public function up()
{
Schema::create('parser_mycode', function (Blueprint $table) {
$table->increments('cid');
$table->increments('id');
$table->text('regex');
$table->text('replacement');
$table->smallInteger('parseorder', false, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class CreateParserSmiliesTable extends Migration
public function up()
{
Schema::create('parser_smilies', function (Blueprint $table) {
$table->increments('sid');
$table->text('find');
$table->increments('id');
$table->text('find')->unique();
$table->string('image');
$table->smallInteger('disporder', false, true);
});
Expand Down
53 changes: 0 additions & 53 deletions src/Badwords/BadwordRepository.php

This file was deleted.

19 changes: 0 additions & 19 deletions src/Badwords/BadwordRepositoryInterface.php

This file was deleted.

48 changes: 0 additions & 48 deletions src/Badwords/CachingDecorator.php

This file was deleted.

Loading

0 comments on commit 79328c9

Please sign in to comment.