aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_migrations.md
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-02-11 16:08:00 +0900
committerGitHub <noreply@github.com>2019-02-11 16:08:00 +0900
commit825d70b4069df3411b77636c98ca668292bbc03a (patch)
treef05bcb58f74291569a9cbfb860cadb6d63689cc0 /guides/source/active_record_migrations.md
parentd87afbf46f87a7fb8e9fef5c1b8422cdf386f4cb (diff)
parent2328331f7902195139a1a7794f86f96432fcf30d (diff)
downloadrails-825d70b4069df3411b77636c98ca668292bbc03a.tar.gz
rails-825d70b4069df3411b77636c98ca668292bbc03a.tar.bz2
rails-825d70b4069df3411b77636c98ca668292bbc03a.zip
Merge pull request #35212 from kamipo/sqlite3_foreign_key
SQLite3: Implement `add_foreign_key` and `remove_foreign_key`
Diffstat (limited to 'guides/source/active_record_migrations.md')
-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