【发布时间】:2019-10-14 11:07:01
【问题描述】:
为了创建一个新的 SQLite 数据库,我使用了这个命令
touch database/database.sqlite 在 Laravel 6.2.0 上
显示错误
touch 未被识别为内部或外部命令。
如何解决?
【问题讨论】:
标签: php database laravel sqlite command
为了创建一个新的 SQLite 数据库,我使用了这个命令
touch database/database.sqlite 在 Laravel 6.2.0 上
显示错误
touch 未被识别为内部或外部命令。
如何解决?
【问题讨论】:
标签: php database laravel sqlite command
windows 不存在 touch 命令,您可以使用 git bash 来使用 touch 命令,或者您可以在 Windows https://www.guru99.com/download-install-sqlite.html 上下载并安装 SQLite,然后转到 C:\sqlite
cd C:\sqlite
然后用这个命令让你成为数据库
sqlite3 databaseName.db
或
database.sqlite
您可以使用另一个链接https://www.guru99.com/sqlite-database.html 但我建议使用 git bash
【讨论】: