Sha256: b93d117721ce1a84801ec6dd0d3f37d1f48b59552fe8e4f91a920847d3fcdf54

Contents?: true

Size: 182 Bytes

Versions: 11

Compression:

Stored size: 182 Bytes

Contents

class CreateDocument < ActiveRecord::Migration
  def change
    create_table :documents do |t|
      t.string :title
      t.string :attachment
      t.timestamps
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
witch_doctor-0.7.1 spec/dummy/db/migrate/20150209121125_create_document.rb
witch_doctor-0.7.0 spec/dummy/db/migrate/20150209121125_create_document.rb
witch_doctor-0.6.0 spec/dummy/db/migrate/20150209121125_create_document.rb
witch_doctor-0.5.0 spec/dummy/db/migrate/20150209121125_create_document.rb
witch_doctor-0.4.0 spec/dummy/db/migrate/20150209121125_create_document.rb
witch_doctor-0.3.0 spec/dummy/db/migrate/20150209121125_create_document.rb
witch_doctor-0.2.0 spec/dummy/db/migrate/20150209121125_create_document.rb
witch_doctor-0.1.2 spec/dummy/db/migrate/20150209121125_create_document.rb
witch_doctor-0.1.1.1 spec/dummy/db/migrate/20150209121125_create_document.rb
witch_doctor-0.1.0 spec/dummy/db/migrate/20150209121125_create_document.rb
witch_doctor-0.0.3 spec/dummy/db/migrate/20150209121125_create_document.rb