Skip to content

Commit

Permalink
更新apps字段,报告目录 #2028
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Nov 26, 2016
1 parent d794fad commit 2e510b1
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/Migration/V20161030182708CreateAppsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ public function up()
->string('industry', 16)
->string('configs', 255)
->timestamps()
->int('createUser')
->int('updateUser')
->userstamps()
->exec();

$now = date('Y-m-d H:i:s');
Expand All @@ -35,19 +34,19 @@ public function up()
'name' => 'app',
'title' => 'app',
'pluginIds' => '',
'createTime' => $now,
'createUser' => 1,
'updateTime' => $now,
'updateUser' => 1,
'created_at' => $now,
'created_by' => 1,
'updated_at' => $now,
'updated_by' => 1,
], [
'userId' => 1,
'name' => 'test',
'title' => 'test',
'pluginIds' => '',
'createTime' => $now,
'createUser' => 1,
'updateTime' => $now,
'updateUser' => 1,
'created_at' => $now,
'created_by' => 1,
'updated_at' => $now,
'updated_by' => 1,
]]);
}

Expand Down

0 comments on commit 2e510b1

Please sign in to comment.