* meta_search now pulls directly from GitHub
* Updated gems * [inprogress] New pagination helpers used instead of pagination presenters * [inprogress] Favorites refactored to use ActiveRecord * [inprogress] PostSets refactored to use a decorator/dependency injection pattern * [inprogress] Made pool/post interaction more robust * Pool#posts now returns an ActiveRelation object * Fixed unit tests
This commit is contained in:
@@ -8385,4 +8385,6 @@ INSERT INTO schema_migrations (version) VALUES ('20100826232512');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20110328215652');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20110328215701');
|
||||
INSERT INTO schema_migrations (version) VALUES ('20110328215701');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20110607194023');
|
||||
@@ -12,17 +12,6 @@ class CreatePools < ActiveRecord::Migration
|
||||
|
||||
add_index :pools, :name
|
||||
add_index :pools, :creator_id
|
||||
|
||||
|
||||
create_table :pool_versions do |t|
|
||||
t.column :pool_id, :integer
|
||||
t.column :post_ids, :text, :null => false, :default => ""
|
||||
t.column :updater_id, :integer, :null => false
|
||||
t.column :updater_ip_addr, "inet", :null => false
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :pool_versions, :pool_id
|
||||
end
|
||||
|
||||
def self.down
|
||||
|
||||
17
db/migrate/20110607194023_create_pool_versions.rb
Normal file
17
db/migrate/20110607194023_create_pool_versions.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
class CreatePoolVersions < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :pool_versions do |t|
|
||||
t.column :pool_id, :integer
|
||||
t.column :post_ids, :text, :null => false, :default => ""
|
||||
t.column :updater_id, :integer, :null => false
|
||||
t.column :updater_ip_addr, "inet", :null => false
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :pool_versions, :pool_id
|
||||
end
|
||||
|
||||
def down
|
||||
drop_table :pool_versions
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user