Sha256: 9d860199f9c8cc7acab0433b6855472897690eb050eb2a1f6b16d4f3166ebf54

Contents?: true

Size: 454 Bytes

Versions: 28

Compression:

Stored size: 454 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

28 entries across 24 versions & 1 rubygems

Version Path
apicasso-0.4.0 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.3.3 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.3.3 db/migrate/20180826141433_create_apicasso_tables.rb
apicasso-0.3.2 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.3.2 db/migrate/20180826141433_create_apicasso_tables.rb
apicasso-0.3.1 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.3.1 db/migrate/20180826141433_create_apicasso_tables.rb
apicasso-0.3.0 db/migrate/20180826141433_create_apicasso_tables.rb
apicasso-0.3.0 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.2.14 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.2.13 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.2.12 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.2.11 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.2.10 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.2.9 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.2.8 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.2.7 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.2.6 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.2.5 lib/generators/apicasso/install/templates/create_apicasso_tables.rb
apicasso-0.2.4 lib/generators/apicasso/install/templates/create_apicasso_tables.rb