Sha256: 14fccd1b9b4e25e0a0420d5c312bd6bd8c1a5c0ec62c15599929ddce470a6cb8
Contents?: true
Size: 927 Bytes
Versions: 4
Compression:
Stored size: 927 Bytes
Contents
<% module_namespacing do -%> class Create<%= class_name %>Authentications < ActiveRecord::Migration def change create_table "<%= class_name.downcase %>_authentications", :force => true do |t| t.integer "<%= class_name.downcase %>_id" t.integer "authentication_provider_id" t.string "uid" t.string "token" t.datetime "token_expires_at" t.text "params" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end add_index "<%= class_name.downcase %>_authentications", ["authentication_provider_id"], :name => "index_<%= class_name.downcase %>_authentications_on_authentication_provider_id" add_index "<%= class_name.downcase %>_authentications", ["<%= class_name.downcase %>_id"], :name => "index_<%= class_name.downcase %>_authentications_on_<%= class_name.downcase %>_id" end end <% end -%>
Version data entries
4 entries across 4 versions & 1 rubygems