Sha256: ef6cba9fbcf6fe26336fccca2cd994b1f3535255a34c9b27080151b63c02fe4c

Contents?: true

Size: 656 Bytes

Versions: 16

Compression:

Stored size: 656 Bytes

Contents

class CreateOpenidTables < ActiveRecord::Migration
  def self.up
    create_table :open_id_authentication_associations, :force => true do |t|
      t.integer  :issued
      t.integer  :lifetime
      t.string   :handle
      t.string   :assoc_type
      t.binary   :server_url
      t.binary   :secret
    end

    create_table :open_id_authentication_nonces, :force => true do |t|
      t.integer  :timestamp,  :null => false
      t.string   :server_url, :null => true
      t.string   :salt,       :null => false
    end
  end

  def self.down
    drop_table :open_id_authentication_associations
    drop_table :open_id_authentication_nonces
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
fat_free_crm-0.13.6 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.13.5 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.13.4 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.13.3 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.13.2 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.12.3 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.12.2 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.13.1 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.12.1 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.13.0 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.12.0 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.11.4 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.11.3 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.11.2 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.11.1 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.11.0 db/migrate/20100928030600_create_openid_tables.rb