Class: Mxrb::Runtime::SchemaColumn

Inherits:
Data
  • Object
show all
Defined in:
lib/mxrb/runtime/schema_migrator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#defaultObject (readonly)

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



8
9
10
# File 'lib/mxrb/runtime/schema_migrator.rb', line 8

def default
  @default
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



8
9
10
# File 'lib/mxrb/runtime/schema_migrator.rb', line 8

def name
  @name
end

#requiredObject (readonly)

Returns the value of attribute required

Returns:

  • (Object)

    the current value of required



8
9
10
# File 'lib/mxrb/runtime/schema_migrator.rb', line 8

def required
  @required
end

#sql_nameObject (readonly)

Returns the value of attribute sql_name

Returns:

  • (Object)

    the current value of sql_name



8
9
10
# File 'lib/mxrb/runtime/schema_migrator.rb', line 8

def sql_name
  @sql_name
end

#sql_typeObject (readonly)

Returns the value of attribute sql_type

Returns:

  • (Object)

    the current value of sql_type



8
9
10
# File 'lib/mxrb/runtime/schema_migrator.rb', line 8

def sql_type
  @sql_type
end

#storage_keyObject (readonly)

Returns the value of attribute storage_key

Returns:

  • (Object)

    the current value of storage_key



8
9
10
# File 'lib/mxrb/runtime/schema_migrator.rb', line 8

def storage_key
  @storage_key
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



8
9
10
# File 'lib/mxrb/runtime/schema_migrator.rb', line 8

def type
  @type
end

#uniqueObject (readonly)

Returns the value of attribute unique

Returns:

  • (Object)

    the current value of unique



8
9
10
# File 'lib/mxrb/runtime/schema_migrator.rb', line 8

def unique
  @unique
end