Skip to content

Commit c9dd26f

Browse files
committed
Restore backward compatibility
1 parent ae592d7 commit c9dd26f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

simplesqlite/_column.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ def not_null(self) -> bool:
2020

2121
def __init__(
2222
self,
23-
name: Optional[str] = None,
23+
attr_name: Optional[str] = None,
2424
not_null: bool = False,
2525
primary_key: bool = False,
2626
unique: bool = False,
2727
autoincrement: bool = False,
2828
default: Any = None,
2929
) -> None:
30-
self.__column_name = name
30+
self.__column_name = attr_name
3131
self.__not_null = not_null
3232
self.__primary_key = primary_key
3333
self.__unique = unique

0 commit comments

Comments
 (0)