diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-02-05 13:29:28 -0700 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-02-05 13:33:48 -0700 |
commit | d666a5a5cfd4692cb8ff3914d7ff0e3885c7eb5c (patch) | |
tree | e00cfdbf74c09dffb63d83749d58863553cee064 /activerecord/lib/active_record/attribute_methods | |
parent | 7ea174e6d5c70f82b707368dcb2eed8a19b5af3e (diff) | |
download | rails-d666a5a5cfd4692cb8ff3914d7ff0e3885c7eb5c.tar.gz rails-d666a5a5cfd4692cb8ff3914d7ff0e3885c7eb5c.tar.bz2 rails-d666a5a5cfd4692cb8ff3914d7ff0e3885c7eb5c.zip |
Revert "Dump indexes in `create_table` instead of `add_index`"
This reverts commit 99801c6a7b69eb4b006a55de17ada78f3a0fa4c1.
Ultimately it doesn't matter whether `add_index` or `t.index` are used
in the schema dumper in any meaningful way. There are gems out there
which hook into the old behavior for things like indexing materialized
views. Since the reverted commit doesn't seem to add much benefit,
there's no reason for us to break these gems.
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods')
0 files changed, 0 insertions, 0 deletions