diff options
| author | Valery Sizov <vsv2711@gmail.com> | 2012-01-19 22:54:05 +0200 |
|---|---|---|
| committer | Valery Sizov <vsv2711@gmail.com> | 2012-01-19 22:54:22 +0200 |
| commit | 4b06d82f3dbb84d0a3fc4de837186b93f35fc942 (patch) | |
| tree | 364e399575fb25ae08aafb67a656e65f61094a09 /db/migrate | |
| parent | e46dab1ac5770e436b6088cb893060b09f2559b4 (diff) | |
| download | gitlab-ce-4b06d82f3dbb84d0a3fc4de837186b93f35fc942.tar.gz | |
fix noteable key type
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20120119203233_fix_notable_key.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20120119203233_fix_notable_key.rb b/db/migrate/20120119203233_fix_notable_key.rb new file mode 100644 index 00000000000..9b902d06a2a --- /dev/null +++ b/db/migrate/20120119203233_fix_notable_key.rb @@ -0,0 +1,5 @@ +class FixNotableKey < ActiveRecord::Migration + def change + change_column :notes, :noteable_id, :integer, :limit => 11 + end +end |
