magento/magento2 — pull request #338 by parhamr (2013-08-21 18:46:33+00:00)
Title: Correcting SQL for required_options column

# Changes

* Replaces string “1” with integer `1`, as the `required_options` column is `smallint(5) unsigned`

# Testing

* Obvious change; only a code review is necessary

```
mysql> describe catalog_product_entity;
+------------------+----------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------------+----------------------+------+-----+---------+----------------+
| entity_id | int(10) unsigned | NO | PRI | NULL | auto_increment |
| entity_type_id | smallint(5) unsigned | NO | MUL | 0 | |
| attribute_set_id | smallint(5) unsigned | NO | MUL | 0 | |
| type_id | varchar(32) | NO | | simple | |
| sku | varchar(64) | YES | MUL | NULL | |
| created_at | timestamp | YES | | NULL | |
| updated_at | timestamp | YES | | NULL | |
| has_options | smallint(6) | NO | | 0 | |
| required_options | smallint(5) unsigned | NO | | 0 | |
| erp_arrival_date | datetime | YES | | NULL | |
+------------------+----------------------+------+-----+---------+----------------+
```