module Ant::Bot::Migrator

Public Class Methods

run_migrations!(conn) click to toggle source
# File lib/ant/bot/migrator.rb, line 7
def run_migrations!(conn)
  conn.create_table?(:bot_sessions) do
    String :channel_id, primary: true
    String :params, text: true
    String :cmd
    String :requested_param
  end
end