aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations
diff options
context:
space:
mode:
authorAslak Hellesøy <aslak.hellesoy@gmail.com>2008-05-07 07:59:34 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-05-11 13:37:29 -0500
commit10fdf44236ea9abfd327fc59d83670d4bcb3e0ca (patch)
treeca354edb2a0c16136304ba45a3f2b2462b68d0d7 /activerecord/test/migrations
parent4cc594bd708df1ec67b61833493198ab0009c627 (diff)
downloadrails-10fdf44236ea9abfd327fc59d83670d4bcb3e0ca.tar.gz
rails-10fdf44236ea9abfd327fc59d83670d4bcb3e0ca.tar.bz2
rails-10fdf44236ea9abfd327fc59d83670d4bcb3e0ca.zip
Added protection against duplicate migration names (Aslak Hellesøy) [#112 state:resolved]
Diffstat (limited to 'activerecord/test/migrations')
-rw-r--r--activerecord/test/migrations/duplicate_names/20080507052938_chunky.rb7
-rw-r--r--activerecord/test/migrations/duplicate_names/20080507053028_chunky.rb7
2 files changed, 14 insertions, 0 deletions
diff --git a/activerecord/test/migrations/duplicate_names/20080507052938_chunky.rb b/activerecord/test/migrations/duplicate_names/20080507052938_chunky.rb
new file mode 100644
index 0000000000..5fe5089e18
--- /dev/null
+++ b/activerecord/test/migrations/duplicate_names/20080507052938_chunky.rb
@@ -0,0 +1,7 @@
+class Chunky < ActiveRecord::Migration
+ def self.up
+ end
+
+ def self.down
+ end
+end
diff --git a/activerecord/test/migrations/duplicate_names/20080507053028_chunky.rb b/activerecord/test/migrations/duplicate_names/20080507053028_chunky.rb
new file mode 100644
index 0000000000..5fe5089e18
--- /dev/null
+++ b/activerecord/test/migrations/duplicate_names/20080507053028_chunky.rb
@@ -0,0 +1,7 @@
+class Chunky < ActiveRecord::Migration
+ def self.up
+ end
+
+ def self.down
+ end
+end