Sha256: 24cfe84de3e9af02b84366aa16201633367a76968dd5e58182e2173f6293659e
Contents?: true
Size: 465 Bytes
Versions: 3
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true class InitializeDb < ActiveRecord::Migration def change create_table :users, force: true do |t| t.integer :roles_mask end create_table :user_without_roles, force: true do |t| t.integer :roles_mask end create_table :user_without_role_masks, force: true do |t| t.integer :my_roles_mask end create_table :members, force: true do |t| t.references :user end end end
Version data entries
3 entries across 3 versions & 1 rubygems