diff options
Diffstat (limited to 'db/migrate/20120215160449_add_position_to_softkey_function.rb')
-rw-r--r-- | db/migrate/20120215160449_add_position_to_softkey_function.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20120215160449_add_position_to_softkey_function.rb b/db/migrate/20120215160449_add_position_to_softkey_function.rb new file mode 100644 index 0000000..16f6b06 --- /dev/null +++ b/db/migrate/20120215160449_add_position_to_softkey_function.rb @@ -0,0 +1,7 @@ +class AddPositionToSoftkeyFunction < ActiveRecord::Migration + def change + add_column :softkey_functions, :position, :integer + add_index :softkey_functions, :position + add_index :softkey_functions, :name + end +end |