mirror of
https://gitea.invidious.io/iv-org/shard-crystal-sqlite3.git
synced 2024-08-15 00:53:26 +00:00
Add spec for DB.connect
Update to crystal-db ~> 0.4.0
This commit is contained in:
parent
bbed6256a6
commit
b43a12fc92
4 changed files with 21 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
class SQLite3::Driver < DB::Driver
|
||||
def build_connection(db)
|
||||
SQLite3::Connection.new(db)
|
||||
def build_connection(context : DB::ConnectionContext)
|
||||
SQLite3::Connection.new(context)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue