Sha256: c490f56d367578e7af2a1a8b02a6585f6609c79212eef9951cc4e8d24528b3d4
Contents?: true
Size: 442 Bytes
Versions: 9
Compression:
Stored size: 442 Bytes
Contents
class CreateApprovalItems < ActiveRecord::Migration<%= migration_version %> def change create_table :approval_items do |t| t.integer :request_id, null: false t.integer :resource_id t.string :resource_type, null: false t.string :event, null: false t.text :params t.timestamps t.index :request_id end add_index :approval_items, [:resource_id, :resource_type] end end
Version data entries
9 entries across 9 versions & 1 rubygems