remove comment
This commit is contained in:
parent
6a4f9a1e21
commit
138927fe47
@ -36,10 +36,6 @@ create_db :: Connection -> IO ()
|
|||||||
create_db conn = do
|
create_db conn = do
|
||||||
execute_ conn "CREATE TABLE IF NOT EXISTS entries (entryId INTEGER PRIMARY KEY AUTOINCREMENT, entryService TEXT, entryLogin TEXT, entryPassword TEXT)"
|
execute_ conn "CREATE TABLE IF NOT EXISTS entries (entryId INTEGER PRIMARY KEY AUTOINCREMENT, entryService TEXT, entryLogin TEXT, entryPassword TEXT)"
|
||||||
execute_ conn "CREATE TABLE IF NOT EXISTS mpass (mpassId INTEGER PRIMARY KEY AUTOINCREMENT, hash INTEGER)"
|
execute_ conn "CREATE TABLE IF NOT EXISTS mpass (mpassId INTEGER PRIMARY KEY AUTOINCREMENT, hash INTEGER)"
|
||||||
-- execute conn "INSERT INTO entries (entryId, entryLogin, entryPassword) VALUES (?,?,?)" (Entry 1 "admin" "admin")
|
|
||||||
-- rowId <- lastInsertRowId conn
|
|
||||||
-- r <- query_ conn "SELECT * from hassword" :: IO [Entry]
|
|
||||||
-- mapM_ print r
|
|
||||||
|
|
||||||
is_it_first_app_usage :: Connection -> IO Bool
|
is_it_first_app_usage :: Connection -> IO Bool
|
||||||
is_it_first_app_usage conn = do
|
is_it_first_app_usage conn = do
|
||||||
|
Loading…
Reference in New Issue
Block a user