fixes for upgrade schema script

This commit is contained in:
albert
2011-11-06 10:12:23 -05:00
parent c478eb33b6
commit 5158d1b274
15 changed files with 3756 additions and 274 deletions

3345
db/danbooru1.struct.sql Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -8,7 +8,7 @@ class CreateUploads < ActiveRecord::Migration
t.column :uploader_id, :integer, :null => false
t.column :uploader_ip_addr, "inet", :null => false
t.column :tag_string, :text, :null => false
t.column :status, :string, :null => false, :default => "pending"
t.column :status, :text, :null => false, :default => "pending"
t.column :backtrace, :text
t.column :post_id, :integer
t.column :md5_confirmation, :string