class Yinx::SQL::Json

Public Instance Methods

down() click to toggle source
# File lib/yinx_sql.rb, line 54
def down
  drop_table :json_batched
end
up() click to toggle source
# File lib/yinx_sql.rb, line 48
def up
  create_table :json_batches do |t|
    t.jsonb :batch, default: '[]'
  end
end