Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "thedevsaddam/laravel-schema",
"name": "ice6/laravel-schema",
"description": "Display the connected database information in console.",
"type": "package",
"keywords": [
Expand All @@ -10,7 +10,7 @@
"database",
"laravel-database viewer"
],
"homepage": "https://github.com/thedevsaddam/laravel-schema",
"homepage": "https://github.com/ice6/laravel-schema",
"license": "MIT",
"authors": [
{
Expand Down
4 changes: 2 additions & 2 deletions src/Schema/Wrapper/MysqlWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function getTables()

public function getColumns($tableName)
{
return $this->transformColumns($this->baseSchema->database->select("SHOW COLUMNS FROM " . $tableName));
return $this->transformColumns($this->baseSchema->database->select("SHOW COLUMNS FROM `{$tableName}`"));
}

public function getSchema()
Expand Down Expand Up @@ -242,4 +242,4 @@ public function showDatabaseStatus($sleep = 2)
];
}

}
}