work on applications

This commit is contained in:
Chris
2018-10-19 15:10:05 +01:00
parent 40d6808067
commit 4fb59385b7
8 changed files with 52 additions and 100 deletions

View File

@@ -14,14 +14,16 @@ class CreateApplicationsTable extends Migration
public function up()
{
Schema::create('applications', function (Blueprint $table) {
$table->increments('id');
$table->string('name')->unique();
$table->string('sha');
$table->string('sha')->unique()->nullable();
$table->string('icon')->nullable();
$table->string('website')->nullable();
$table->string('license')->nullable();
$table->mediumText('description')->nullable();
$table->boolean('enhanced')->default(false);
$table->string('tile_background')->default('dark');
$table->timestamps();
});