test/schema.rb in redmine_crm-0.0.59 vs test/schema.rb in redmine_crm-0.0.60
- old
+ new
@@ -1,6 +1,21 @@
ActiveRecord::Schema.define version: 0 do
+ create_table :attachments, force: true do |t|
+ t.integer :container_id
+ t.string :container_type, limit: 30
+ t.string :filename, default: "", null: false
+ t.string :disk_filename, default: "", null: false
+ t.bigint :filesize, default: 0, null: false
+ t.string :content_type, default: ""
+ t.string :digest, limit: 64, default: "", null: false
+ t.integer :downloads, default: 0, null: false
+ t.integer :author_id, default: 0, null: false
+ t.timestamp :created_on
+ t.string :description
+ t.string :disk_directory
+ end
+
create_table :drafts, force: true do |t|
t.string :target_type
t.integer :target_id
t.references :project
t.references :user