Skip to content
Extraits de code Groupes Projets
Valider c2bbe4e4 rédigé par Maxwell Salzberg's avatar Maxwell Salzberg
Parcourir les fichiers

somehow some dirty state made it into my merge :(

parent 190fceaf
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -2,7 +2,3 @@ app.collections.Posts = Backbone.Collection.extend({ ...@@ -2,7 +2,3 @@ app.collections.Posts = Backbone.Collection.extend({
model: app.models.Post, model: app.models.Post,
url : "/posts" url : "/posts"
}); });
app.collection.PublicPosts = app.collection.Posts.extend({
url : '/public'
})
\ No newline at end of file
...@@ -107,6 +107,8 @@ ActiveRecord::Schema.define(:version => 20120521191429) do ...@@ -107,6 +107,8 @@ ActiveRecord::Schema.define(:version => 20120521191429) do
t.datetime "updated_at", :null => false t.datetime "updated_at", :null => false
end end
add_index "conversations", ["author_id"], :name => "conversations_author_id_fk"
create_table "invitation_codes", :force => true do |t| create_table "invitation_codes", :force => true do |t|
t.string "token" t.string "token"
t.integer "user_id" t.integer "user_id"
...@@ -144,6 +146,7 @@ ActiveRecord::Schema.define(:version => 20120521191429) do ...@@ -144,6 +146,7 @@ ActiveRecord::Schema.define(:version => 20120521191429) do
t.string "target_type", :limit => 60, :null => false t.string "target_type", :limit => 60, :null => false
end end
add_index "likes", ["author_id"], :name => "likes_author_id_fk"
add_index "likes", ["guid"], :name => "index_likes_on_guid", :unique => true add_index "likes", ["guid"], :name => "index_likes_on_guid", :unique => true
add_index "likes", ["target_id", "author_id", "target_type"], :name => "index_likes_on_target_id_and_author_id_and_target_type", :unique => true add_index "likes", ["target_id", "author_id", "target_type"], :name => "index_likes_on_target_id_and_author_id_and_target_type", :unique => true
add_index "likes", ["target_id"], :name => "index_likes_on_post_id" add_index "likes", ["target_id"], :name => "index_likes_on_post_id"
...@@ -169,6 +172,7 @@ ActiveRecord::Schema.define(:version => 20120521191429) do ...@@ -169,6 +172,7 @@ ActiveRecord::Schema.define(:version => 20120521191429) do
end end
add_index "messages", ["author_id"], :name => "index_messages_on_author_id" add_index "messages", ["author_id"], :name => "index_messages_on_author_id"
add_index "messages", ["conversation_id"], :name => "messages_conversation_id_fk"
create_table "notification_actors", :force => true do |t| create_table "notification_actors", :force => true do |t|
t.integer "notification_id" t.integer "notification_id"
...@@ -200,7 +204,7 @@ ActiveRecord::Schema.define(:version => 20120521191429) do ...@@ -200,7 +204,7 @@ ActiveRecord::Schema.define(:version => 20120521191429) do
t.text "data", :null => false t.text "data", :null => false
end end
add_index "o_embed_caches", ["url"], :name => "index_o_embed_caches_on_url" add_index "o_embed_caches", ["url"], :name => "index_o_embed_caches_on_url", :length => {"url"=>255}
create_table "participations", :force => true do |t| create_table "participations", :force => true do |t|
t.string "guid" t.string "guid"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter