diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-01-21 14:54:32 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-01-21 14:54:32 +0200 |
| commit | f4e3ec29c46752c68b99fa2eb37cfb12463de9f2 (patch) | |
| tree | 1d87d3f3220c6157322d8c34a95cc9dcbb16c40d /db/migrate | |
| parent | 3d7b35a37d30365088947de0cf85cc7d4af79162 (diff) | |
| download | gitlab-ce-f4e3ec29c46752c68b99fa2eb37cfb12463de9f2.tar.gz | |
fixed commit commenting
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20120121122616_fix_noteable_id.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20120121122616_fix_noteable_id.rb b/db/migrate/20120121122616_fix_noteable_id.rb new file mode 100644 index 00000000000..dbc0fa3e12c --- /dev/null +++ b/db/migrate/20120121122616_fix_noteable_id.rb @@ -0,0 +1,9 @@ +class FixNoteableId < ActiveRecord::Migration + def up + change_column :notes, :noteable_id, :string, :limit => 255 + end + + def down + change_column :notes, :noteable_id, :integer, :limit => 11 + end +end |
