Updated schema & bundle
This commit is contained in:
parent
273317ea90
commit
0e04dba130
|
@ -52,7 +52,7 @@ GEM
|
||||||
activesupport (~> 3.0)
|
activesupport (~> 3.0)
|
||||||
daemons
|
daemons
|
||||||
erubis (2.7.0)
|
erubis (2.7.0)
|
||||||
execjs (1.2.8)
|
execjs (1.2.9)
|
||||||
multi_json (~> 1.0)
|
multi_json (~> 1.0)
|
||||||
haml (3.1.3)
|
haml (3.1.3)
|
||||||
hike (1.2.1)
|
hike (1.2.1)
|
||||||
|
|
104
db/schema.rb
104
db/schema.rb
|
@ -11,29 +11,32 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended to check this file into your version control system.
|
# It's strongly recommended to check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(:version => 20110922190755) do
|
ActiveRecord::Schema.define(:version => 20110926002631) do
|
||||||
|
|
||||||
create_table "album_formats", :force => true do |t|
|
create_table "album_formats", :force => true do |t|
|
||||||
t.integer "album_id"
|
t.integer "album_id"
|
||||||
t.integer "release_format_id"
|
t.integer "release_format_id"
|
||||||
t.datetime "created_at"
|
|
||||||
t.datetime "updated_at"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_index "album_formats", ["album_id"], :name => "index_album_formats_on_album_id"
|
||||||
|
add_index "album_formats", ["release_format_id"], :name => "index_album_formats_on_release_format_id"
|
||||||
|
|
||||||
create_table "album_genres", :force => true do |t|
|
create_table "album_genres", :force => true do |t|
|
||||||
t.integer "album_id"
|
t.integer "album_id"
|
||||||
t.integer "genre_id"
|
t.integer "genre_id"
|
||||||
t.datetime "created_at"
|
|
||||||
t.datetime "updated_at"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_index "album_genres", ["album_id"], :name => "index_album_genres_on_album_id"
|
||||||
|
add_index "album_genres", ["genre_id"], :name => "index_album_genres_on_genre_id"
|
||||||
|
|
||||||
create_table "album_styles", :force => true do |t|
|
create_table "album_styles", :force => true do |t|
|
||||||
t.integer "album_id"
|
t.integer "album_id"
|
||||||
t.integer "style_id"
|
t.integer "style_id"
|
||||||
t.datetime "created_at"
|
|
||||||
t.datetime "updated_at"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_index "album_styles", ["album_id"], :name => "index_album_styles_on_album_id"
|
||||||
|
add_index "album_styles", ["style_id"], :name => "index_album_styles_on_style_id"
|
||||||
|
|
||||||
create_table "albums", :force => true do |t|
|
create_table "albums", :force => true do |t|
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.integer "artist_id"
|
t.integer "artist_id"
|
||||||
|
@ -48,21 +51,28 @@ ActiveRecord::Schema.define(:version => 20110922190755) do
|
||||||
t.boolean "master"
|
t.boolean "master"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_index "albums", ["artist_id"], :name => "index_albums_on_artist_id"
|
||||||
|
add_index "albums", ["has_pic"], :name => "index_albums_on_has_pic"
|
||||||
|
add_index "albums", ["master"], :name => "index_albums_on_master"
|
||||||
|
add_index "albums", ["name"], :name => "index_albums_on_name"
|
||||||
|
add_index "albums", ["year"], :name => "index_albums_on_year"
|
||||||
|
|
||||||
create_table "artist_aliases", :force => true do |t|
|
create_table "artist_aliases", :force => true do |t|
|
||||||
t.integer "artist_id"
|
t.integer "artist_id"
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.datetime "created_at"
|
|
||||||
t.datetime "updated_at"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_index "artist_aliases", ["artist_id"], :name => "index_artist_aliases_on_artist_id"
|
||||||
|
add_index "artist_aliases", ["name"], :name => "index_artist_aliases_on_name"
|
||||||
|
|
||||||
create_table "artist_links", :force => true do |t|
|
create_table "artist_links", :force => true do |t|
|
||||||
t.integer "artist_id"
|
t.integer "artist_id"
|
||||||
t.string "service"
|
t.string "service"
|
||||||
t.string "url"
|
t.string "url"
|
||||||
t.datetime "created_at"
|
|
||||||
t.datetime "updated_at"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_index "artist_links", ["artist_id"], :name => "index_artist_links_on_artist_id"
|
||||||
|
|
||||||
create_table "artists", :force => true do |t|
|
create_table "artists", :force => true do |t|
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.text "desc"
|
t.text "desc"
|
||||||
|
@ -77,6 +87,11 @@ ActiveRecord::Schema.define(:version => 20110922190755) do
|
||||||
t.string "original_name"
|
t.string "original_name"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_index "artists", ["listeners"], :name => "index_artists_on_listeners"
|
||||||
|
add_index "artists", ["name"], :name => "index_artists_on_name"
|
||||||
|
add_index "artists", ["original_name"], :name => "index_artists_on_original_name"
|
||||||
|
add_index "artists", ["status"], :name => "index_artists_on_status"
|
||||||
|
|
||||||
create_table "delayed_jobs", :force => true do |t|
|
create_table "delayed_jobs", :force => true do |t|
|
||||||
t.integer "priority", :default => 0
|
t.integer "priority", :default => 0
|
||||||
t.integer "attempts", :default => 0
|
t.integer "attempts", :default => 0
|
||||||
|
@ -102,12 +117,10 @@ ActiveRecord::Schema.define(:version => 20110922190755) do
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "genres", :force => true do |t|
|
create_table "genres", :force => true do |t|
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.datetime "created_at"
|
|
||||||
t.datetime "updated_at"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "local_brainz_releases", :force => true do |t|
|
create_table "local_brainz_cached_releases", :force => true do |t|
|
||||||
t.string "mbid"
|
t.string "mbid"
|
||||||
t.string "title"
|
t.string "title"
|
||||||
t.string "status"
|
t.string "status"
|
||||||
|
@ -119,7 +132,7 @@ ActiveRecord::Schema.define(:version => 20110922190755) do
|
||||||
t.string "format"
|
t.string "format"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "local_brainz_tracks", :force => true do |t|
|
create_table "local_brainz_cached_tracks", :force => true do |t|
|
||||||
t.integer "position"
|
t.integer "position"
|
||||||
t.string "recording_id"
|
t.string "recording_id"
|
||||||
t.string "title"
|
t.string "title"
|
||||||
|
@ -144,12 +157,12 @@ ActiveRecord::Schema.define(:version => 20110922190755) do
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "release_formats", :force => true do |t|
|
create_table "release_formats", :force => true do |t|
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.string "hash"
|
t.string "hash"
|
||||||
t.datetime "created_at"
|
|
||||||
t.datetime "updated_at"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_index "release_formats", ["hash"], :name => "index_release_formats_on_hash"
|
||||||
|
|
||||||
create_table "sessions", :force => true do |t|
|
create_table "sessions", :force => true do |t|
|
||||||
t.integer "user_id"
|
t.integer "user_id"
|
||||||
t.string "key"
|
t.string "key"
|
||||||
|
@ -157,21 +170,24 @@ ActiveRecord::Schema.define(:version => 20110922190755) do
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_index "sessions", ["key"], :name => "index_sessions_on_key"
|
||||||
|
add_index "sessions", ["user_id"], :name => "index_sessions_on_user_id"
|
||||||
|
|
||||||
create_table "styles", :force => true do |t|
|
create_table "styles", :force => true do |t|
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.datetime "created_at"
|
|
||||||
t.datetime "updated_at"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "track_artists", :force => true do |t|
|
create_table "track_artists", :force => true do |t|
|
||||||
t.integer "track_id"
|
t.integer "track_id"
|
||||||
t.integer "artist_id"
|
t.integer "artist_id"
|
||||||
t.boolean "main"
|
t.boolean "main"
|
||||||
t.string "join"
|
t.string "join"
|
||||||
t.datetime "created_at"
|
|
||||||
t.datetime "updated_at"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_index "track_artists", ["artist_id"], :name => "index_track_artists_on_artist_id"
|
||||||
|
add_index "track_artists", ["main"], :name => "index_track_artists_on_main"
|
||||||
|
add_index "track_artists", ["track_id"], :name => "index_track_artists_on_track_id"
|
||||||
|
|
||||||
create_table "tracks", :force => true do |t|
|
create_table "tracks", :force => true do |t|
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.integer "album_id"
|
t.integer "album_id"
|
||||||
|
@ -186,6 +202,11 @@ ActiveRecord::Schema.define(:version => 20110922190755) do
|
||||||
t.string "mbid"
|
t.string "mbid"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_index "tracks", ["album_id"], :name => "index_tracks_on_album_id"
|
||||||
|
add_index "tracks", ["bonus"], :name => "index_tracks_on_bonus"
|
||||||
|
add_index "tracks", ["name"], :name => "index_tracks_on_name"
|
||||||
|
add_index "tracks", ["position"], :name => "index_tracks_on_position"
|
||||||
|
|
||||||
create_table "users", :force => true do |t|
|
create_table "users", :force => true do |t|
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.string "email"
|
t.string "email"
|
||||||
|
@ -198,4 +219,7 @@ ActiveRecord::Schema.define(:version => 20110922190755) do
|
||||||
t.integer "music"
|
t.integer "music"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_index "users", ["name"], :name => "index_users_on_name"
|
||||||
|
add_index "users", ["vkid"], :name => "index_users_on_vkid"
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue