Sha256: 329ee130d70fd6b708159ed4700268f150fd35998ed416b0387f2a934abe693f

Contents?: true

Size: 657 Bytes

Versions: 7

Compression:

Stored size: 657 Bytes

Contents

class DropOpenidTables < ActiveRecord::Migration
  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

7 entries across 7 versions & 2 rubygems

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