aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-02-11 15:58:26 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-02-11 16:00:01 +0900
commit2328331f7902195139a1a7794f86f96432fcf30d (patch)
treef05bcb58f74291569a9cbfb860cadb6d63689cc0
parentda5843436b416f5c730f552273e1d09002beb4e0 (diff)
downloadrails-2328331f7902195139a1a7794f86f96432fcf30d.tar.gz
rails-2328331f7902195139a1a7794f86f96432fcf30d.tar.bz2
rails-2328331f7902195139a1a7794f86f96432fcf30d.zip
Revert "Merge pull request #33563 from lzap/foreign-key-note-doc"
This reverts commit 141f50ef9ee6ce26820549e9f5b4629ddee182ce, reversing changes made to 317efa5c3593b70e9cc9a2fcb67488a302b71731. Reason: `add_foreign_key` and `remove_foreign_key` are implemented at #35212. [ci skip]
-rw-r--r--guides/source/active_record_migrations.md3
1 files changed, 0 insertions, 3 deletions
diff --git a/guides/source/active_record_migrations.md b/guides/source/active_record_migrations.md
index 905c76e5c1..2c1796c464 100644
--- a/guides/source/active_record_migrations.md
+++ b/guides/source/active_record_migrations.md
@@ -496,9 +496,6 @@ NOTE: Active Record only supports single column foreign keys. `execute` and
`structure.sql` are required to use composite foreign keys. See
[Schema Dumping and You](#schema-dumping-and-you).
-NOTE: The SQLite3 adapter doesn't support `add_foreign_key` since SQLite supports
-only [a limited subset of ALTER TABLE](https://www.sqlite.org/lang_altertable.html).
-
Removing a foreign key is easy as well:
```ruby