|
@@ -13,7 +13,7 @@ class CreateSupportDreamInfoTable extends Migration
|
|
*/
|
|
*/
|
|
public function up()
|
|
public function up()
|
|
{
|
|
{
|
|
- Schema::create('support_dream_info', function (Blueprint $table) {
|
|
|
|
|
|
+ Schema::create('support_dream', function (Blueprint $table) {
|
|
$table->increments('id');
|
|
$table->increments('id');
|
|
$table->integer('user_id')->comment('当前用户ID');
|
|
$table->integer('user_id')->comment('当前用户ID');
|
|
$table->integer('dram_id')->comment('梦想ID');
|
|
$table->integer('dram_id')->comment('梦想ID');
|
|
@@ -30,6 +30,6 @@ class CreateSupportDreamInfoTable extends Migration
|
|
*/
|
|
*/
|
|
public function down()
|
|
public function down()
|
|
{
|
|
{
|
|
- Schema::dropIfExists('support_dream_info');
|
|
|
|
|
|
+ Schema::dropIfExists('support_dream');
|
|
}
|
|
}
|
|
}
|
|
}
|