laravel 4 - Database hierarchy for timesheet day locking -
laravel 4 - Database hierarchy for timesheet day locking -
i'm creating timesheet web application came blocking point.
my "times" table looks this: (taken laravel framework migration code)
$table->increments('id'); $table->timestamps(); $table->datetime('start_date'); $table->float('hours')->default('8'); $table->text('description')->nullable(); $table->boolean('locked'); $table->integer('project_id')->unsigned();
the thought 1 of our supervisors able lock on weekly basis. should add together simple lock boolean field ? or maybe create sec table called week_agenda (or improve naming) , add together locks there?
regards
database-design laravel-4
Comments
Post a Comment