Sha256: 8ff3242d16b04aefff68ed76f17b6e0ebe7eeeb2fd847eeb1521235aaca52402
Contents?: true
Size: 337 Bytes
Versions: 5
Compression:
Stored size: 337 Bytes
Contents
class ConnectsUsersToSites < ActiveRecord::Migration[5.0] def change create_table :cas_sites_users, id: :uuid do |t| t.column :user_id, :uuid, null: false t.column :site_id, :uuid, null: false t.boolean :author_id, :uuid t.timestamps end add_index :cas_sites_users, [:site_id, :user_id] end end
Version data entries
5 entries across 5 versions & 1 rubygems