User music preferences in bitmask
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddMusicToUser < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :music, :integer
|
||||
end
|
||||
end
|
||||
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user