Skip to content

Instantly share code, notes, and snippets.

@zeloc
Created August 16, 2018 08:15
Show Gist options
  • Save zeloc/fdc9fa0a2107206aeddb2b60e9796593 to your computer and use it in GitHub Desktop.
Save zeloc/fdc9fa0a2107206aeddb2b60e9796593 to your computer and use it in GitHub Desktop.
This is a list of fields used during upgrading an attribute
2018-05-10T07:56:38+00:00 INFO (6): Array
(
[attribute_id] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => attribute_id
[COLUMN_POSITION] => 1
[DATA_TYPE] => smallint
[DEFAULT] =>
[NULLABLE] =>
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] => 1
[PRIMARY] => 1
[PRIMARY_POSITION] => 1
[IDENTITY] => 1
)
[entity_type_id] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => entity_type_id
[COLUMN_POSITION] => 2
[DATA_TYPE] => smallint
[DEFAULT] => 0
[NULLABLE] =>
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] => 1
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[attribute_code] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => attribute_code
[COLUMN_POSITION] => 3
[DATA_TYPE] => varchar
[DEFAULT] =>
[NULLABLE] =>
[LENGTH] => 255
[SCALE] =>
[PRECISION] =>
[UNSIGNED] =>
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[attribute_model] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => attribute_model
[COLUMN_POSITION] => 4
[DATA_TYPE] => varchar
[DEFAULT] =>
[NULLABLE] => 1
[LENGTH] => 255
[SCALE] =>
[PRECISION] =>
[UNSIGNED] =>
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[backend_model] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => backend_model
[COLUMN_POSITION] => 5
[DATA_TYPE] => varchar
[DEFAULT] =>
[NULLABLE] => 1
[LENGTH] => 255
[SCALE] =>
[PRECISION] =>
[UNSIGNED] =>
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[backend_type] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => backend_type
[COLUMN_POSITION] => 6
[DATA_TYPE] => varchar
[DEFAULT] => static
[NULLABLE] =>
[LENGTH] => 8
[SCALE] =>
[PRECISION] =>
[UNSIGNED] =>
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[backend_table] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => backend_table
[COLUMN_POSITION] => 7
[DATA_TYPE] => varchar
[DEFAULT] =>
[NULLABLE] => 1
[LENGTH] => 255
[SCALE] =>
[PRECISION] =>
[UNSIGNED] =>
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[frontend_model] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => frontend_model
[COLUMN_POSITION] => 8
[DATA_TYPE] => varchar
[DEFAULT] =>
[NULLABLE] => 1
[LENGTH] => 255
[SCALE] =>
[PRECISION] =>
[UNSIGNED] =>
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[frontend_input] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => frontend_input
[COLUMN_POSITION] => 9
[DATA_TYPE] => varchar
[DEFAULT] =>
[NULLABLE] => 1
[LENGTH] => 50
[SCALE] =>
[PRECISION] =>
[UNSIGNED] =>
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[frontend_label] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => frontend_label
[COLUMN_POSITION] => 10
[DATA_TYPE] => varchar
[DEFAULT] =>
[NULLABLE] => 1
[LENGTH] => 255
[SCALE] =>
[PRECISION] =>
[UNSIGNED] =>
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[frontend_class] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => frontend_class
[COLUMN_POSITION] => 11
[DATA_TYPE] => varchar
[DEFAULT] =>
[NULLABLE] => 1
[LENGTH] => 255
[SCALE] =>
[PRECISION] =>
[UNSIGNED] =>
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[source_model] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => source_model
[COLUMN_POSITION] => 12
[DATA_TYPE] => varchar
[DEFAULT] =>
[NULLABLE] => 1
[LENGTH] => 255
[SCALE] =>
[PRECISION] =>
[UNSIGNED] =>
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[is_required] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => is_required
[COLUMN_POSITION] => 13
[DATA_TYPE] => smallint
[DEFAULT] => 0
[NULLABLE] =>
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] => 1
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[is_user_defined] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => is_user_defined
[COLUMN_POSITION] => 14
[DATA_TYPE] => smallint
[DEFAULT] => 0
[NULLABLE] =>
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] => 1
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[default_value] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => default_value
[COLUMN_POSITION] => 15
[DATA_TYPE] => text
[DEFAULT] =>
[NULLABLE] => 1
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] =>
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[is_unique] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => is_unique
[COLUMN_POSITION] => 16
[DATA_TYPE] => smallint
[DEFAULT] => 0
[NULLABLE] =>
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] => 1
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
[note] => Array
(
[SCHEMA_NAME] =>
[TABLE_NAME] => eav_attribute
[COLUMN_NAME] => note
[COLUMN_POSITION] => 17
[DATA_TYPE] => varchar
[DEFAULT] =>
[NULLABLE] => 1
[LENGTH] => 255
[SCALE] =>
[PRECISION] =>
[UNSIGNED] =>
[PRIMARY] =>
[PRIMARY_POSITION] =>
[IDENTITY] =>
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment