Sha256: 51c11930dde817c3843bdafdbef344d63cd858dcff4da08dc2f524a68558d638
Contents?: true
Size: 501 Bytes
Versions: 8
Compression:
Stored size: 501 Bytes
Contents
class CreateProfiles < ActiveRecord::Migration[5.2] def change create_table :profiles do |t| t.references :user, index: true, foreign_key: true t.references :user_group, index: true t.references :library, index: true t.string :locale t.string :user_number t.text :full_name t.text :note t.text :keyword_list t.references :required_role, index: false t.timestamps end add_index :profiles, :user_number, unique: true end end
Version data entries
8 entries across 8 versions & 8 rubygems