Sha256: 6923e68010912e835094c86d1e7088fed403653d2798333ead923034b294e6f3

Contents?: true

Size: 189 Bytes

Versions: 3

Compression:

Stored size: 189 Bytes

Contents

class CreateAuthors < ActiveRecord::Migration
  def self.up
    create_table :authors do |t|
      t.column :name, :string
    end
  end
  
  def self.down
    drop_table :authors
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
polymorphic_identity-0.0.3 test/app_root/db/migrate/001_create_authors.rb
polymorphic_identity-0.0.1 test/app_root/db/migrate/001_create_authors.rb
polymorphic_identity-0.0.2 test/app_root/db/migrate/001_create_authors.rb