Module: Switchman::ActiveRecord::Migration::Compatibility::V5_0

Defined in:
lib/switchman/active_record/migration.rb

Overview

rubocop:disable Naming/ClassAndModuleCamelCase

Instance Method Summary collapse

Instance Method Details

#create_table(*args, **options) ⇒ Object



8
9
10
11
# File 'lib/switchman/active_record/migration.rb', line 8

def create_table(*args, **options)
  options[:id] = :bigserial unless options.key?(:id)
  super
end