Sha256: 6875eb87b8ade1adec9aeb7f55fa8a24ce5c5560048e279e0f076b22260d5eae

Contents?: true

Size: 246 Bytes

Versions: 12

Compression:

Stored size: 246 Bytes

Contents

class CreateVoltronIds < ActiveRecord::Migration
  def change
    create_table :voltron_ids, id: false do |t|
      t.integer :id, limit: 8, primary_key: true
      t.integer :resource_id, limit: 8
      t.string :resource_type
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
voltron-encrypt-0.2.1 lib/generators/templates/db/migrate/create_voltron_ids.rb
voltron-encrypt-0.2.0 lib/generators/templates/db/migrate/create_voltron_ids.rb
voltron-encrypt-0.1.9.1 lib/generators/templates/db/migrate/create_voltron_ids.rb
voltron-encrypt-0.1.4 lib/generators/templates/db/migrate/create_voltron_ids.rb
voltron-encrypt-0.1.9 lib/generators/templates/db/migrate/create_voltron_ids.rb
voltron-encrypt-0.1.6 lib/generators/templates/db/migrate/create_voltron_ids.rb
voltron-encrypt-0.1.2 lib/generators/templates/db/migrate/create_voltron_ids.rb
voltron-encrypt-0.1.5 lib/generators/templates/db/migrate/create_voltron_ids.rb
voltron-encrypt-0.1.3 lib/generators/templates/db/migrate/create_voltron_ids.rb
voltron-encrypt-0.1.7 lib/generators/templates/db/migrate/create_voltron_ids.rb
voltron-encrypt-0.1.9.2 lib/generators/templates/db/migrate/create_voltron_ids.rb
voltron-encrypt-0.1.8 lib/generators/templates/db/migrate/create_voltron_ids.rb