aboutsummaryrefslogtreecommitdiff
path: root/db/migrate/20180127201504_create_users.rb
blob: 23c109e791b83cd386f8bb105ceb9e1cdd67bc40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class CreateUsers < ActiveRecord::Migration[5.1]
  def change
    create_table :users do |t|
      t.string   :name
      t.string   :email
      t.string   :uid
      t.string   :organisation_slug
      t.string   :organisation_content_id
      t.text     :permissions
      t.boolean  :remotely_signed_out, :default => false
      t.boolean  :disabled, :default => false
    end
  end
end