cirandas.net

ref: dockerize

plugins/oauth_client/db/migrate/20141010135314_create_oauth_client_plugin_provider.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
class CreateOauthClientPluginProvider < ActiveRecord::Migration

  def self.up
    create_table :oauth_client_plugin_providers do |t|
      t.integer :environment_id
      t.string :strategy
      t.string :name
      t.text :options
      t.boolean :enabled
      t.integer :image_id

      t.timestamps
    end
  end

  def self.down
    drop_table :oauth_client_plugin_providers
  end
end