-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from ARCANEDEV/patch-1
Cleaning the package
- Loading branch information
Showing
28 changed files
with
227 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
* text=auto | ||
|
||
/.github export-ignore | ||
/_docs export-ignore | ||
/tests export-ignore | ||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.scrutinizer.yml export-ignore | ||
/.travis.yml export-ignore | ||
/phpunit.xml export-ignore | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.scrutinizer.yml export-ignore | ||
.travis.yml export-ignore | ||
phpunit.xml.dist export-ignore | ||
CONTRIBUTING.md export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,18 @@ | |
* Class CreateDiscussionsTable | ||
* | ||
* @author ARCANEDEV <[email protected]> | ||
* | ||
* @see \Arcanedev\LaravelMessenger\Models\Discussion | ||
*/ | ||
class CreateDiscussionsTable extends Migration | ||
{ | ||
/* ------------------------------------------------------------------------------------------------ | ||
/* ----------------------------------------------------------------- | ||
| Constructor | ||
| ------------------------------------------------------------------------------------------------ | ||
| ----------------------------------------------------------------- | ||
*/ | ||
|
||
/** | ||
* CreateParticipantsTable constructor. | ||
* CreateDiscussionsTable constructor. | ||
*/ | ||
public function __construct() | ||
{ | ||
|
@@ -26,10 +29,11 @@ public function __construct() | |
); | ||
} | ||
|
||
/* ------------------------------------------------------------------------------------------------ | ||
| Main Functions | ||
| ------------------------------------------------------------------------------------------------ | ||
/* ----------------------------------------------------------------- | ||
| Main Methods | ||
| ----------------------------------------------------------------- | ||
*/ | ||
|
||
/** | ||
* Run the migrations. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,18 @@ | |
* Class CreateMessagesTable | ||
* | ||
* @author ARCANEDEV <[email protected]> | ||
* | ||
* @see \Arcanedev\LaravelMessenger\Models\Message | ||
*/ | ||
class CreateMessagesTable extends Migration | ||
{ | ||
/* ------------------------------------------------------------------------------------------------ | ||
/* ----------------------------------------------------------------- | ||
| Constructor | ||
| ------------------------------------------------------------------------------------------------ | ||
| ----------------------------------------------------------------- | ||
*/ | ||
|
||
/** | ||
* CreateParticipantsTable constructor. | ||
* CreateMessagesTable constructor. | ||
*/ | ||
public function __construct() | ||
{ | ||
|
@@ -26,19 +29,20 @@ public function __construct() | |
); | ||
} | ||
|
||
/* ------------------------------------------------------------------------------------------------ | ||
| Main Functions | ||
| ------------------------------------------------------------------------------------------------ | ||
/* ----------------------------------------------------------------- | ||
| Main Methods | ||
| ----------------------------------------------------------------- | ||
*/ | ||
|
||
/** | ||
* Run the migrations. | ||
*/ | ||
public function up() | ||
{ | ||
$this->createSchema(function (Blueprint $table) { | ||
$table->increments('id'); | ||
$table->integer('discussion_id')->unsigned(); | ||
$table->integer('user_id')->unsigned(); | ||
$table->unsignedInteger('discussion_id'); | ||
$table->unsignedInteger('user_id'); | ||
$table->text('body'); | ||
$table->timestamps(); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,16 @@ | |
* Class CreateParticipantsTable | ||
* | ||
* @author ARCANEDEV <[email protected]> | ||
* | ||
* @see \Arcanedev\LaravelMessenger\Models\Participant | ||
*/ | ||
class CreateParticipantsTable extends Migration | ||
{ | ||
/* ------------------------------------------------------------------------------------------------ | ||
/* ----------------------------------------------------------------- | ||
| Constructor | ||
| ------------------------------------------------------------------------------------------------ | ||
| ----------------------------------------------------------------- | ||
*/ | ||
|
||
/** | ||
* CreateParticipantsTable constructor. | ||
*/ | ||
|
@@ -26,19 +29,20 @@ public function __construct() | |
); | ||
} | ||
|
||
/* ------------------------------------------------------------------------------------------------ | ||
| Main Functions | ||
| ------------------------------------------------------------------------------------------------ | ||
/* ----------------------------------------------------------------- | ||
| Main Methods | ||
| ----------------------------------------------------------------- | ||
*/ | ||
|
||
/** | ||
* Run the migrations. | ||
*/ | ||
public function up() | ||
{ | ||
$this->createSchema(function (Blueprint $table) { | ||
$table->increments('id'); | ||
$table->integer('discussion_id')->unsigned(); | ||
$table->integer('user_id')->unsigned(); | ||
$table->unsignedInteger('discussion_id'); | ||
$table->unsignedInteger('user_id'); | ||
$table->dateTime('last_read')->nullable(); | ||
$table->timestamps(); | ||
$table->softDeletes(); | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.