Module: Twenty::Command::Hook::SQLiteConn

Included in:
Connect, Console, Disconnect, Down, Migrate, Up
Defined in:
lib/twenty/cli/command/hook/sqlite_conn.rb

Instance Method Summary collapse

Instance Method Details

#run_command(options) ⇒ Object



5
6
7
8
9
# File 'lib/twenty/cli/command/hook/sqlite_conn.rb', line 5

def run_command(options)
  path = options.database || Twenty.default_database
  Twenty.establish_connection(path:)
  super(options)
end