feat: adds pgsql compatibility (#72)

This commit is contained in:
hackerESQ
2025-03-10 21:17:24 -05:00
committed by GitHub
parent 9e48f21c8d
commit 7ab6f79e56
15 changed files with 195 additions and 139 deletions
@@ -18,11 +18,9 @@ class CreateSplitsTable extends Migration
Schema::create('splits', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->date('date');
$table->string('symbol', 15);
$table->string('symbol', 25);
$table->float('split_amount', 12, 4);
$table->timestamps();
$table->foreign('symbol')->references('symbol')->on('market_data');
});
}