| 60 | | assert_nothing_raised { Person.connection.add_index("people", ["last_name", "first_name"]) } |
|---|
| 61 | | assert_nothing_raised { Person.connection.remove_index("people", :column => ["last_name", "first_name"]) } |
|---|
| 62 | | assert_nothing_raised { Person.connection.add_index("people", ["last_name", "first_name"]) } |
|---|
| 63 | | assert_nothing_raised { Person.connection.remove_index("people", :name => "people_last_name_first_name_index") } |
|---|
| 64 | | assert_nothing_raised { Person.connection.add_index("people", ["last_name", "first_name"]) } |
|---|
| 65 | | assert_nothing_raised { Person.connection.remove_index("people", "last_name_first_name") } |
|---|
| 66 | | assert_nothing_raised { Person.connection.add_index("people", ["last_name", "first_name"]) } |
|---|
| 67 | | assert_nothing_raised { Person.connection.remove_index("people", ["last_name", "first_name"]) } |
|---|
| | 60 | # Orcl nds shrt indx nms. |
|---|
| | 61 | unless current_adapter?(:OracleAdapter) |
|---|
| | 62 | assert_nothing_raised { Person.connection.add_index("people", ["last_name", "first_name"]) } |
|---|
| | 63 | assert_nothing_raised { Person.connection.remove_index("people", :column => ["last_name", "first_name"]) } |
|---|
| | 64 | assert_nothing_raised { Person.connection.add_index("people", ["last_name", "first_name"]) } |
|---|
| | 65 | assert_nothing_raised { Person.connection.remove_index("people", :name => "index_people_on_last_name_and_first_name") } |
|---|
| | 66 | assert_nothing_raised { Person.connection.add_index("people", ["last_name", "first_name"]) } |
|---|
| | 67 | assert_nothing_raised { Person.connection.remove_index("people", "last_name_and_first_name") } |
|---|
| | 68 | assert_nothing_raised { Person.connection.add_index("people", ["last_name", "first_name"]) } |
|---|
| | 69 | assert_nothing_raised { Person.connection.remove_index("people", ["last_name", "first_name"]) } |
|---|
| | 70 | end |
|---|