Sha256: 13a63d531424076aedcb4e23d1a6eaf101ab693ea3fee091491d4c9646bec1a3

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

class CreateHosts < ActiveRecord::Migration
  def change
    create_table :restpack_hosts do |t|
      t.string  :name, :null => false, :limit => 256
      t.integer :application_id, :null => false
      t.string  :session_secret, :null => false, :limit => 128
      t.json    :oauth_providers, :null => false

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restpack_core_service-0.0.6 db/migrate/20130808135549_create_hosts.rb