Sha256: b9b185054da73c0380f01acc0935bc5b4ffa891a3e4286972bce48d1983723f3
Contents?: true
Size: 538 Bytes
Versions: 17
Compression:
Stored size: 538 Bytes
Contents
class CreateAuthenticationsAndUserProviders < ActiveRecord::CompatibleLegacyMigration.migration_class def self.up create_table :authentications do |t| t.integer :user_id, null: false t.string :provider, :uid, null: false t.timestamps null: false end create_table :user_providers do |t| t.integer :user_id, null: false t.string :provider, :uid, null: false t.timestamps null: false end end def self.down drop_table :authentications drop_table :user_providers end end
Version data entries
17 entries across 17 versions & 1 rubygems