Sha256: 4faa1715bbfac3fc305c7fbe67502505b7ba1c5a1863bff70c5eab629c90d555

Contents?: true

Size: 361 Bytes

Versions: 6

Compression:

Stored size: 361 Bytes

Contents

class CreateDocuments < ActiveRecord::Migration
  def change
    create_table :documents do |t|
      t.integer :folder_id
      t.integer :room_id
      t.string :name
      t.time :updated_at
      t.integer :uuid
      t.integer :user_id
      t.integer :file_size
      t.string :file_content_type
      t.string :state

      t.timestamps
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
oss_active_record-0.3.1 test/dummy/db/migrate/20130711150619_create_documents.rb
oss_active_record-0.3.0 test/dummy/db/migrate/20130711150619_create_documents.rb
oss_active_record-0.2.0 test/dummy/db/migrate/20130711150619_create_documents.rb
oss_active_record-0.1.2 test/dummy/db/migrate/20130711150619_create_documents.rb
oss_active_record-0.1.1 test/dummy/db/migrate/20130711150619_create_documents.rb
oss_active_record-0.1.0 test/dummy/db/migrate/20130711150619_create_documents.rb