CreateCmReferenceTable.php
3 weeks ago
CreateCollaborationsConnectedTable.php
3 weeks ago
CreateCollaborationsSentTable.php
3 weeks ago
CreateCollaborationsTable.php
3 weeks ago
CreateCommentsSeenTable.php
3 weeks ago
CreateCommentsTable.php
3 weeks ago
CreateFormsDataTable.php
3 weeks ago
CreateFormsTable.php
3 weeks ago
CreateCollaborationsSentTable.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Kirki\Database\Migrations; |
| 4 | |
| 5 | use Kirki\Framework\Contracts\Migration; |
| 6 | use Kirki\Framework\Database\Schema\Structure; |
| 7 | use Kirki\Framework\Supports\Facades\Schema; |
| 8 | |
| 9 | class CreateCollaborationsSentTable implements Migration |
| 10 | { |
| 11 | public function up() |
| 12 | { |
| 13 | Schema::create('kirki_collaborations_sent', function (Structure $table) { |
| 14 | $table->big_integer('id', true)->primary(); |
| 15 | $table->big_integer('collaboration_id'); |
| 16 | $table->string('session_id', 50); |
| 17 | $table->timestamp('created_at')->use_current(); |
| 18 | $table->datetime('updated_at')->use_current(); |
| 19 | }); |
| 20 | } |
| 21 | |
| 22 | public function down() |
| 23 | { |
| 24 | Schema::drop_if_exists('kirki_collaborations_sent'); |
| 25 | } |
| 26 | } |
| 27 |