Sha256: 189e32f53617fbc45027ff6a3c3b2f1d7e4df8f7545aa46090359073d60cb73f

Contents?: true

Size: 198 Bytes

Versions: 1

Compression:

Stored size: 198 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.column :login, :string, :null => false
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_emails-0.0.1 test/app_root/db/migrate/001_create_users.rb