摘要: Schema::connection('usertable')->create('test', function ($table) { $table->increments('id'); $table->string('name'); }); 'usertable'自己配置的数据库名称。'test'要创建的数据表名称 阅读全文
posted @ 2018-04-03 11:22 生如逆旅,一苇以航 阅读(1162) 评论(0) 推荐(0) 编辑