Add ability to pass in parameters to an Award class #155

This commit is contained in:
Nabeel Shahzad
2018-03-17 11:35:34 -05:00
parent 26f00ccaae
commit 7feecb507d
8 changed files with 90 additions and 33 deletions

View File

@@ -22,11 +22,12 @@ class CreateAwardsTable extends Migration
# ref fields are expenses tied to some model object
# EG, the airports has an internal expense for gate costs
$table->string('ref_class')->nullable();
$table->string('ref_class_id', 36)->nullable();
$table->text('ref_class_params')->nullable();
#$table->string('ref_class_id', 36)->nullable();
$table->timestamps();
$table->index(['ref_class', 'ref_class_id']);
$table->index(['ref_class']);
});
}