Sha256: 52e1298b6e31c22262e3aa656578ac1b7b2fea586b9cd856d4d04aa452254922

Contents?: true

Size: 625 Bytes

Versions: 7

Compression:

Stored size: 625 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

7 entries across 7 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.14.1 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.15.0.beta.2 db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.15.0.beta db/migrate/20100928030600_create_openid_tables.rb
fat_free_crm-0.14.0 db/migrate/20100928030600_create_openid_tables.rb
reduced_fat_crm-0.15.0.beta db/migrate/20100928030600_create_openid_tables.rb
reduced_fat_crm-0.14.0 db/migrate/20100928030600_create_openid_tables.rb