fixed tag and pending post tests, added category multiget helper to tag, post/unapproval/post version in progress still
This commit is contained in:
17
db/migrate/20100209201251_create_unapprovals.rb
Normal file
17
db/migrate/20100209201251_create_unapprovals.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
class CreateUnapprovals < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :unapprovals do |t|
|
||||
t.column :post_id, :integer, :null => false
|
||||
t.column :reason, :text
|
||||
t.column :unapprover_id, :integer, :null => false
|
||||
t.column :unapprover_ip_addr, "inet", :null => false
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :unapprovals, :post_id
|
||||
end
|
||||
|
||||
def self.down
|
||||
drop_table :unapprovals
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user