Skip to content

Commit

Permalink
squeeze migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrzebinski committed Nov 10, 2019
1 parent 177a23a commit 64eb347
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 33 deletions.
2 changes: 2 additions & 0 deletions database/migrations/2016_07_26_110654_lessons.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public function up()
$table->foreign('owner_id')->references('id')->on('users')->onDelete('cascade');
$table->string('name');
$table->enum('visibility', ['public', 'private']);
$table->integer('exercises_count')->default(0);
$table->integer('subscribers_count')->default(0);
$table->timestamps();
});

Expand Down

This file was deleted.

0 comments on commit 64eb347

Please sign in to comment.