Merge branch '8784-dir-listings'
[arvados.git] / services / api / db / migrate / 20130122020042_create_users.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class CreateUsers < ActiveRecord::Migration
6   def change
7     create_table :users do |t|
8       t.string :uuid
9       t.string :created_by_client
10       t.string :created_by_user
11       t.datetime :created_at
12       t.string :modified_by_client
13       t.string :modified_by_user
14       t.datetime :modified_at
15       t.string :email
16       t.string :first_name
17       t.string :last_name
18       t.string :identity_url
19       t.boolean :is_admin
20       t.text :prefs
21
22       t.timestamps
23     end
24   end
25 end