Sha256: b0a5acf323e73bace17dea5577f082b79e8e3359eb550155a3b6e2f894fcf8e3
Contents?: true
Size: 534 Bytes
Versions: 11
Compression:
Stored size: 534 Bytes
Contents
class CreateApicassoTables < ActiveRecord::Migration[5.0] def change execute <<-SQL CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; SQL create_table :apicasso_keys, id: :uuid do |t| t.json :scope t.integer :scope_type t.json :request_limiting t.text :token t.datetime :deleted_at t.timestamps null: false end create_table :apicasso_requests, id: :uuid do |t| t.text :api_key_id t.json :object t.timestamps null: false end end end
Version data entries
11 entries across 6 versions & 1 rubygems