Sha256: 64a85733815aff5488e3d4ea47bc17ec17aa10dfc00bf40451fb72965522ddef

Contents?: true

Size: 205 Bytes

Versions: 1

Compression:

Stored size: 205 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
plugin_migrations-0.1.2 test/app_root/vendor/plugins/second_plugin_with_migrations/db/migrate/001_create_authors.rb