Add datetime system (Rsx_Time/Rsx_Date) and .expect file documentation system
Tighten CLAUDE.dist.md for LLM audience - 15% size reduction Add Repeater_Simple_Input component for managing lists of simple values Add Polymorphic_Field_Helper for JSON-encoded polymorphic form fields Fix incorrect data-sid selector in route-debug help example Fix Form_Utils to use component.$sid() instead of data-sid selector Add response helper functions and use _message as reserved metadata key 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -346,6 +346,11 @@
|
||||
"created_at": "2025-12-11T06:15:51+00:00",
|
||||
"created_by": "root",
|
||||
"command": "php artisan make:migration:safe create_groups_and_group_users_tables"
|
||||
},
|
||||
"2025_12_24_210213_add_timezone_to_login_users_table.php": {
|
||||
"created_at": "2025-12-24T21:02:13+00:00",
|
||||
"created_by": "root",
|
||||
"command": "php artisan make:migration:safe add_timezone_to_login_users_table"
|
||||
}
|
||||
}
|
||||
}
|
||||
36
database/migrations/2025_12_24_210213_add_timezone_to_login_users_table.php
Executable file
36
database/migrations/2025_12_24_210213_add_timezone_to_login_users_table.php
Executable file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* IMPORTANT: Use raw MySQL queries for clarity and auditability
|
||||
* ✅ DB::statement("ALTER TABLE login_users ADD COLUMN new_field VARCHAR(255)")
|
||||
* ❌ Schema::table() with Blueprint
|
||||
*
|
||||
* Migrations must be self-contained - no Model/Service references
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
// Add timezone column to login_users table
|
||||
// Stores IANA timezone identifier (e.g., "America/Chicago")
|
||||
// NULL = use system/site default
|
||||
DB::statement("
|
||||
ALTER TABLE login_users
|
||||
ADD COLUMN timezone VARCHAR(50) DEFAULT NULL
|
||||
AFTER status_id
|
||||
");
|
||||
}
|
||||
|
||||
/**
|
||||
* down() method is prohibited in RSpade framework
|
||||
* Migrations should only move forward, never backward
|
||||
* You may remove this comment as soon as you see it and understand.
|
||||
*/
|
||||
};
|
||||
Reference in New Issue
Block a user