Sha256: 16a348fbd856e2b3acd47737694f34b5060e4d277b928e3a2c92fab196bdc451
Contents?: true
Size: 824 Bytes
Versions: 2
Compression:
Stored size: 824 Bytes
Contents
class Init < ActiveRecord::Migration def change # # Create the table for storing the uploads currently being processed # create_table :condo_uploads do |t| t.string :user_id, :allow_null => false t.string :file_name, :allow_null => false t.integer :file_size, :allow_null => false t.string :file_id t.text :custom_params t.string :provider_namespace t.string :provider_name, :allow_null => false t.string :provider_location, :allow_null => false t.string :bucket_name, :allow_null => false t.string :object_key, :allow_null => false t.text :object_options t.string :resumable_id t.boolean :resumable, :allow_null => false, :default => false t.timestamps # date_created needs to be defined end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
condo_active_record-1.0.0 | db/migrate/20111001022500_init.rb |
condo_active_record-0.0.1 | db/migrate/20111001022500_init.rb |