Sha256: 8a801951d466c35648303aa8131397fcf3dba323a66bf04deeeee2240bbf23a0
Contents?: true
Size: 803 Bytes
Versions: 8
Compression:
Stored size: 803 Bytes
Contents
class ActiveRecord::ConnectionAdapters::NullDBAdapter class TableDefinition < ActiveRecord::ConnectionAdapters::TableDefinition attr_accessor :name alias_method :enum, :string alias_method :uuid, :string alias_method :citext, :text alias_method :interval, :text alias_method :geometry, :text alias_method :serial, :integer alias_method :bigserial, :integer alias_method :inet, :string alias_method :jsonb, :json if method_defined? :json alias_method :hstore, :json if ::ActiveRecord::VERSION::MAJOR == 7 && ::ActiveRecord::VERSION::MINOR >= 1 # Avoid check for option validity def create_column_definition(name, type, options) ActiveRecord::ConnectionAdapters::ColumnDefinition.new(name, type, options) end end end end
Version data entries
8 entries across 8 versions & 2 rubygems