Sha256: f694ae078a89604e9517181b1138f4922e9dab51bbdfbd4233234318532428f0

Contents?: true

Size: 320 Bytes

Versions: 13

Compression:

Stored size: 320 Bytes

Contents

class CreatePolicyManagerUserTerms < ActiveRecord::Migration[5.1]
  def change
    create_table :policy_manager_user_terms do |t|
      t.integer :user_id, index: true
      t.integer :term_id, index: true
      t.string :state, index: true

      t.timestamps
    end
    #add_index :terms_user_terms, :state
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gdpr_rails-0.5.1 db/migrate/20180326193827_create_policy_manager_user_terms.rb
gdpr_rails-0.5.0 db/migrate/20180326193827_create_policy_manager_user_terms.rb
gdpr_rails-0.4.0 db/migrate/20180326193827_create_policy_manager_user_terms.rb
gdpr_rails-0.3.4 db/migrate/20180326193827_create_policy_manager_user_terms.rb
gdpr_rails-0.3.3 db/migrate/20180326193827_create_policy_manager_user_terms.rb
gdpr_rails-0.3.2 db/migrate/20180326193827_create_policy_manager_user_terms.rb
gdpr_rails-0.3.1 db/migrate/20180326193827_create_policy_manager_user_terms.rb
gdpr_rails-0.3.0 db/migrate/20180326193827_create_policy_manager_user_terms.rb
gdpr_rails-0.2.4 db/migrate/20180326193827_create_policy_manager_user_terms.rb
gdpr_rails-0.2.2 db/migrate/20180326193827_create_policy_manager_user_terms.rb
gdpr_rails-0.2.1 db/migrate/20180326193827_create_policy_manager_user_terms.rb
gdpr_rails-0.2.0 db/migrate/20180326193827_create_policy_manager_user_terms.rb
gdpr_rails-0.1.0 db/migrate/20180326193827_create_policy_manager_user_terms.rb