diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-05 07:19:20 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-05 07:19:20 +0000 |
commit | f1880cac5862172608ff26d1178a31c05b904d77 (patch) | |
tree | aab6bdf693ab0f7495e308a9813432938d95e040 /activerecord/test/fixtures | |
parent | 2418a68aa23c96ce20aae6168c71c760cb6e7809 (diff) | |
download | rails-f1880cac5862172608ff26d1178a31c05b904d77.tar.gz rails-f1880cac5862172608ff26d1178a31c05b904d77.tar.bz2 rails-f1880cac5862172608ff26d1178a31c05b904d77.zip |
Sugared up migrations with even more bling #1609 [Tobias Luekte]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r-- | activerecord/test/fixtures/migrations/3_innocent_jointable.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/migrations/3_innocent_jointable.rb b/activerecord/test/fixtures/migrations/3_innocent_jointable.rb new file mode 100644 index 0000000000..21c9ca5328 --- /dev/null +++ b/activerecord/test/fixtures/migrations/3_innocent_jointable.rb @@ -0,0 +1,12 @@ +class InnocentJointable < ActiveRecord::Migration + def self.up + create_table("people_reminders", :id => false) do |t| + t.column :reminder_id, :integer + t.column :person_id, :integer + end + end + + def self.down + drop_table "people_reminders" + end +end
\ No newline at end of file |