mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
sessions table removed
This commit is contained in:
20
.blueprint
20
.blueprint
@@ -8,16 +8,16 @@ created:
|
||||
- database/factories/VenueFactory.php
|
||||
- database/factories/EventFactory.php
|
||||
- database/factories/RegistrationFactory.php
|
||||
- database/migrations/2022_11_29_205647_create_countries_table.php
|
||||
- database/migrations/2022_11_29_205648_create_cities_table.php
|
||||
- database/migrations/2022_11_29_205649_create_lecturers_table.php
|
||||
- database/migrations/2022_11_29_205650_create_participants_table.php
|
||||
- database/migrations/2022_11_29_205651_create_categories_table.php
|
||||
- database/migrations/2022_11_29_205652_create_courses_table.php
|
||||
- database/migrations/2022_11_29_205653_create_venues_table.php
|
||||
- database/migrations/2022_11_29_205654_create_events_table.php
|
||||
- database/migrations/2022_11_29_205655_create_registrations_table.php
|
||||
- database/migrations/2022_11_29_205656_create_category_course_table.php
|
||||
- database/migrations/2022_11_29_210212_create_countries_table.php
|
||||
- database/migrations/2022_11_29_210213_create_cities_table.php
|
||||
- database/migrations/2022_11_29_210214_create_lecturers_table.php
|
||||
- database/migrations/2022_11_29_210215_create_participants_table.php
|
||||
- database/migrations/2022_11_29_210216_create_categories_table.php
|
||||
- database/migrations/2022_11_29_210217_create_courses_table.php
|
||||
- database/migrations/2022_11_29_210218_create_venues_table.php
|
||||
- database/migrations/2022_11_29_210219_create_events_table.php
|
||||
- database/migrations/2022_11_29_210220_create_registrations_table.php
|
||||
- database/migrations/2022_11_29_210221_create_category_course_table.php
|
||||
- app/Models/Country.php
|
||||
- app/Models/City.php
|
||||
- app/Models/Lecturer.php
|
||||
|
||||
@@ -18,7 +18,7 @@ BROADCAST_DRIVER=log
|
||||
CACHE_DRIVER=file
|
||||
FILESYSTEM_DISK=local
|
||||
QUEUE_CONNECTION=sync
|
||||
SESSION_DRIVER=database
|
||||
SESSION_DRIVER=redis
|
||||
SESSION_LIFETIME=120
|
||||
|
||||
MEMCACHED_HOST=127.0.0.1
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('sessions', function (Blueprint $table) {
|
||||
$table->string('id')->primary();
|
||||
$table->foreignId('user_id')->nullable()->index();
|
||||
$table->string('ip_address', 45)->nullable();
|
||||
$table->text('user_agent')->nullable();
|
||||
$table->longText('payload');
|
||||
$table->integer('last_activity')->index();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('sessions');
|
||||
}
|
||||
};
|
||||
BIN
public.png
Normal file
BIN
public.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 799 KiB |
Reference in New Issue
Block a user