User music preferences in bitmask

This commit is contained in:
magnolia-fan
2011-09-15 08:35:48 +04:00
parent 2f31a6fd65
commit d50d584bf8
10 changed files with 29 additions and 13 deletions
@@ -0,0 +1,5 @@
class AddMusicToUser < ActiveRecord::Migration
def change
add_column :users, :music, :integer
end
end
+2 -1
View File
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20110914163231) do
ActiveRecord::Schema.define(:version => 20110915043009) do
create_table "albums", :force => true do |t|
t.string "name"
@@ -105,6 +105,7 @@ ActiveRecord::Schema.define(:version => 20110914163231) do
t.string "lastfm_key"
t.string "lastfm_username"
t.string "lang"
t.integer "music"
end
end