diff options
Diffstat (limited to 'db/migrate/100_add_changesets_user_id.rb')
-rw-r--r-- | db/migrate/100_add_changesets_user_id.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/100_add_changesets_user_id.rb b/db/migrate/100_add_changesets_user_id.rb new file mode 100644 index 000000000..9b25fd7bc --- /dev/null +++ b/db/migrate/100_add_changesets_user_id.rb @@ -0,0 +1,9 @@ +class AddChangesetsUserId < ActiveRecord::Migration + def self.up + add_column :changesets, :user_id, :integer, :default => nil + end + + def self.down + remove_column :changesets, :user_id + end +end |