Tracks import

This commit is contained in:
Gregory Eremin
2012-09-01 21:55:01 +04:00
parent b5f616a9d9
commit 43422624f1
34 changed files with 1094 additions and 156 deletions
@@ -0,0 +1,5 @@
class AddIsHiddenFieldToAlbums < ActiveRecord::Migration
def change
add_column :albums, :is_hidden, :boolean, default: false
end
end
+4 -3
View File
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20120826172120) do
ActiveRecord::Schema.define(:version => 20120901111329) do
create_table "albums", :force => true do |t|
t.integer "artist_id"
@@ -19,8 +19,9 @@ ActiveRecord::Schema.define(:version => 20120826172120) do
t.string "title"
t.integer "year"
t.string "pic"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.boolean "is_hidden", :default => false
end
create_table "artist_genres", :force => true do |t|