Added site locales

This commit is contained in:
magnolia-fan
2011-06-30 09:12:52 +04:00
parent 124e9e481e
commit 13a233ac72
26 changed files with 406 additions and 112 deletions
@@ -0,0 +1,9 @@
class AddLangToUser < ActiveRecord::Migration
def self.up
add_column :users, :lang, :string
end
def self.down
remove_column :users, :lang
end
end
+2 -1
View File
@@ -10,7 +10,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20110624073136) do
ActiveRecord::Schema.define(:version => 20110630035132) do
create_table "albums", :force => true do |t|
t.string "name"
@@ -101,6 +101,7 @@ ActiveRecord::Schema.define(:version => 20110624073136) do
t.datetime "updated_at"
t.string "lastfm_key"
t.string "lastfm_username"
t.string "lang"
end
end