3scale/porta

View on GitHub
db/migrate/20160606090533_create_service_tokens.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateServiceTokens < ActiveRecord::Migration
  def change
    create_table :service_tokens do |t|
      t.references :service, index: true, limit: 8
      t.string :value

      t.timestamps
    end
  end
end