sreilly1 / Final-Year-SE-Project

0 stars 0 forks source link

Database change #1: #23

Closed Fa8a6 closed 8 years ago

Fa8a6 commented 8 years ago

Table: "modules",

Change column "module_leader" from being string to:

$table->integer('module_leader')->unsigned()->nullable();
$table->foreign('module_leader')->references('id')->on('users');

Reasons:

Please ask if you have any questions about it.. :+1:

sreilly1 commented 8 years ago

fixed see commit a9553cf481e9befaafab0e50f7c24ad33d12fbe3