Sha256: 160c087c7154bd08848024ffca186d7c7abfa516eb63cd9697bdf2a4dbfdfe53

Contents?: true

Size: 418 Bytes

Versions: 3

Compression:

Stored size: 418 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def change
    create_table :restpack_users do |t|
      t.string :name, :limit => 128
      t.string :nickname, :limit => 128
      t.string :email, :limit => 512
      t.string :image, :limit => 1024
      t.string :location, :limit => 512
      t.string :description, :limit => 1024
      t.integer :application_id, :null => false

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
restpack_user_service-0.0.4 db/migrate/20130807130942_create_users.rb
restpack_user_service-0.0.3 db/migrate/20130807130942_create_users.rb
restpack_user_service-0.0.2 db/migrate/20130807130942_create_users.rb