Rangliste almost done
This commit is contained in:
parent
12651fc2e8
commit
43fd8c8cbf
579 changed files with 172489 additions and 127 deletions
278
pfosten/database/dumps/2017-06-26_pfosten.sql
Normal file
278
pfosten/database/dumps/2017-06-26_pfosten.sql
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -15,9 +15,10 @@ class CreateUsersTable extends Migration
|
|||
{
|
||||
Schema::create('users', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('name');
|
||||
$table->string('email')->unique();
|
||||
$table->string('password');
|
||||
$table->string('name',32);
|
||||
$table->string('fullname', 100);
|
||||
$table->string('email',150)->unique();
|
||||
$table->string('password',100);
|
||||
$table->timestamp('deleted')->nullable();
|
||||
$table->boolean('admin')->default(false);
|
||||
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ class CreatePasswordResetsTable extends Migration
|
|||
public function up()
|
||||
{
|
||||
Schema::create('password_resets', function (Blueprint $table) {
|
||||
$table->string('email')->index();
|
||||
$table->string('token');
|
||||
$table->string('email',150)->index();
|
||||
$table->string('token',100);
|
||||
$table->timestamp('created_at')->nullable();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ class CreateSettingsTable extends Migration
|
|||
Schema::create('settings', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->timestamps();
|
||||
$table->integer('current_season_id');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ class CreateGamesTable extends Migration
|
|||
Schema::create('games', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->integer('round_id');
|
||||
$table->string('team1');
|
||||
$table->string('team2');
|
||||
$table->string('team1',100);
|
||||
$table->string('team2',100);
|
||||
$table->integer('score1')->default(-1);
|
||||
$table->integer('score2')->default(-1);
|
||||
$table->dateTime('kickoff');
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class CreateRoundsTable extends Migration
|
|||
{
|
||||
Schema::create('rounds', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('name');
|
||||
$table->string('name',64);
|
||||
$table->integer('season_id');
|
||||
$table->timestamps();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class CreateSeasonsTable extends Migration
|
|||
{
|
||||
Schema::create('seasons', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('name');
|
||||
$table->string('name',100);
|
||||
$table->boolean('active')->default(true);
|
||||
$table->timestamps();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue