Sha256: 71708c2007f7c24faf08f84f8e2effe622a1f9c160c2beae976bbc10d6b9a540

Contents?: true

Size: 293 Bytes

Versions: 8

Compression:

Stored size: 293 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :name
      t.string :nickname
      t.string :image
      t.string :description
      t.string :location

      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
echo_base-0.2.1 lib/templates/db/migrate/20101009192412_create_users.rb
echo_base-0.1.3 lib/generators/echo_base/templates/db/migrate/20101009192412_create_users.rb
echo_base-0.1.2 lib/generators/echo_base/templates/db/migrate/20101009192412_create_users.rb
echo_base-0.1.1 lib/generators/echo_base/templates/db/migrate/20101009192412_create_users.rb
echo_base-0.1.0 lib/generators/echo_base/templates/db/migrate/20101009192412_create_users.rb
echo_base-0.0.4 lib/generators/echo_base/templates/db/migrate/20101009192412_create_users.rb
echo_base-0.0.3 lib/generators/echo_base/templates/db/migrate/20101009192412_create_users.rb
echo_base-0.0.2 lib/generators/echo_base/templates/db/migrate/20101009192412_create_users.rb