Sha256: 080a429981b57ca130c612882687699fac17f0af2a84f97d961cd26195bdc418

Contents?: true

Size: 662 Bytes

Versions: 8

Compression:

Stored size: 662 Bytes

Contents

class DropOpenidTables < ActiveRecord::Migration[4.2]
  def self.up
    drop_table :open_id_authentication_associations
    drop_table :open_id_authentication_nonces
  end

  def self.down # see 003_create_openid_tables.rb
    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
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fat_free_crm-0.15.2 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.16.4 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.15.1 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.16.3 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.16.2 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.16.1 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.16.0 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.15.0 db/migrate/20100928030617_drop_openid_tables.rb