diff --git a/database/migrations/2024_03_18_172658_create_session_table.php b/database/migrations/2024_03_18_172658_create_session_table.php new file mode 100644 index 0000000..dce2e94 --- /dev/null +++ b/database/migrations/2024_03_18_172658_create_session_table.php @@ -0,0 +1,31 @@ +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. + */ + public function down(): void + { + Schema::dropIfExists('session'); + } +}; diff --git a/version.php b/version.php index f474d72..0ef0ffb 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@