I want to create a column for price in a laravel schema.
public function up()
{
Schema::create('cameras', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('condition');
$table->string('price');
$table->string('type');
$table->timestamps();
});
}
Or is there an alternative data type I can use? As I don't see anything for monetary value in the documentation. Any help would be appreciated.