class BazaMigrations::Commands::Base

Attributes

db[RW]
table[RW]

Public Instance Methods

default_args(args = {}) click to toggle source
# File lib/baza_migrations/commands/base.rb, line 4
def default_args(args = {})
  return_args = {null: true}
  return_args[:null] = args[:null] if args.include?(:null)
  return_args[:default] = args[:default] if args.include?(:default)

  return_args
end