moved api server code into new directory structure
[arvados.git] / services / api / db / migrate / 20130122020042_create_users.rb
diff --git a/services/api/db/migrate/20130122020042_create_users.rb b/services/api/db/migrate/20130122020042_create_users.rb
new file mode 100644 (file)
index 0000000..61a60c5
--- /dev/null
@@ -0,0 +1,21 @@
+class CreateUsers < ActiveRecord::Migration
+  def change
+    create_table :users do |t|
+      t.string :uuid
+      t.string :created_by_client
+      t.string :created_by_user
+      t.datetime :created_at
+      t.string :modified_by_client
+      t.string :modified_by_user
+      t.datetime :modified_at
+      t.string :email
+      t.string :first_name
+      t.string :last_name
+      t.string :identity_url
+      t.boolean :is_admin
+      t.text :prefs
+
+      t.timestamps
+    end
+  end
+end