Sha256: 50429144fd04c851b8871e385f022c09f39228da39c6dab268afec6395ff9b91

Contents?: true

Size: 692 Bytes

Versions: 10

Compression:

Stored size: 692 Bytes

Contents

# frozen_string_literal: true

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

10 entries across 10 versions & 1 rubygems

Version Path
fat_free_crm-0.20.1 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.20.0 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.19.2 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.19.0 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.18.2 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.17.3 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.18.1 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.18.0 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.17.2 db/migrate/20100928030617_drop_openid_tables.rb
fat_free_crm-0.17.1 db/migrate/20100928030617_drop_openid_tables.rb