Class: SchemaFerry::ColumnSchema

Inherits:
Struct
  • Object
show all
Defined in:
lib/schema_ferry/schema_model.rb

Instance Attribute Summary collapse

Instance Attribute Details

#commentObject

Returns the value of attribute comment

Returns:

  • (Object)

    the current value of comment



17
18
19
# File 'lib/schema_ferry/schema_model.rb', line 17

def comment
  @comment
end

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



17
18
19
# File 'lib/schema_ferry/schema_model.rb', line 17

def default
  @default
end

#default_functionObject

Returns the value of attribute default_function

Returns:

  • (Object)

    the current value of default_function



17
18
19
# File 'lib/schema_ferry/schema_model.rb', line 17

def default_function
  @default_function
end

#limitObject

Returns the value of attribute limit

Returns:

  • (Object)

    the current value of limit



17
18
19
# File 'lib/schema_ferry/schema_model.rb', line 17

def limit
  @limit
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



17
18
19
# File 'lib/schema_ferry/schema_model.rb', line 17

def name
  @name
end

#nullObject

Returns the value of attribute null

Returns:

  • (Object)

    the current value of null



17
18
19
# File 'lib/schema_ferry/schema_model.rb', line 17

def null
  @null
end

#precisionObject

Returns the value of attribute precision

Returns:

  • (Object)

    the current value of precision



17
18
19
# File 'lib/schema_ferry/schema_model.rb', line 17

def precision
  @precision
end

#scaleObject

Returns the value of attribute scale

Returns:

  • (Object)

    the current value of scale



17
18
19
# File 'lib/schema_ferry/schema_model.rb', line 17

def scale
  @scale
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



17
18
19
# File 'lib/schema_ferry/schema_model.rb', line 17

def type
  @type
end