aboutsummaryrefslogtreecommitdiff
path: root/db/migrate/20180127201504_create_users.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20180127201504_create_users.rb')
-rw-r--r--db/migrate/20180127201504_create_users.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20180127201504_create_users.rb b/db/migrate/20180127201504_create_users.rb
new file mode 100644
index 0000000..23c109e
--- /dev/null
+++ b/db/migrate/20180127201504_create_users.rb
@@ -0,0 +1,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