mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed bug with tables with spaces in their name
The new database index page was erroring.
This commit is contained in:
parent
59580d02da
commit
b51836f846
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ class DatabaseView(BaseView):
|
|||
for table_name, table_rows in table_metadata.items():
|
||||
rows = await self.execute(
|
||||
name,
|
||||
'PRAGMA table_info({});'.format(table_name)
|
||||
'PRAGMA table_info([{}]);'.format(table_name)
|
||||
)
|
||||
tables.append({
|
||||
'name': table_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue