Sha256: c426975a84efaf5633dc48dba994cf0f555dc42c5e91f91fb4990993f52d5346

Contents?: true

Size: 437 Bytes

Versions: 7

Compression:

Stored size: 437 Bytes

Contents

class CreateApicassoTables < ActiveRecord::Migration[5.0]
  def change
    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

7 entries across 5 versions & 1 rubygems

Version Path
apicasso-0.2.16 db/migrate/20180826141433_create_apicasso_tables.rb
apicasso-0.2.16 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.2.15 db/migrate/20180826141433_create_apicasso_tables.rb
apicasso-0.2.15 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.1.5 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.1.4 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.1.3 lib/generators/apicasso/install/templates/create_apicasso_tables.rb