修改表结构

This commit is contained in:
小松树 committed 2020-12-24 16:38:16 +08:00
1 parent 26337e7390
commit 54ad7ff87c
21 files changed
+746 -61

No files matched your search

+12 -1
View File
@@ -18,7 +18,7 @@ class School extends Seeder
$rows= [
[
'id' => 1
,'title' => '大连长岛经济区文教中心'
,'title' => '大连无名岛经济区文教中心'
,'jiancheng' => '文教中心'
,'biaoshi' => ''
,'jibie_id' => 10204
@@ -27,6 +27,17 @@ class School extends Seeder
,'kaoshi' => 1
,'xingzhi_id' => 10107
],
[
'id' => 2
,'title' => '大连无名岛经济区靠海小学'
,'jiancheng' => '靠海'
,'biaoshi' => ''
,'jibie_id' => 10203
,'xueduan_id' => 10302
,'paixu' => 1
,'kaoshi' => 1
,'xingzhi_id' => 10102
],
];
// 保存数据
$this->table('school')->insert($rows)->save();