kopia lustrzana https://github.com/simonw/datasette
Fixed bug with tables with spaces in their name
The new database index page was erroring.pull/81/head
rodzic
59580d02da
commit
b51836f846
|
@ -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,
|
||||
|
|
Ładowanie…
Reference in New Issue