about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-25 14:12:24 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-25 14:12:24 +0100
commite24bfbde1acbef73cd3c58753a572da2bcb59200 (patch)
tree7d05e3b3ad634f63d1e94de6ebfd16f64cfb9789 /db/migrate
parent8eeec389c11298ad1be163dd65c5ae79e06867ca (diff)
Fixing FanOutOnWriteService, fixing Sidekiq not having enough DB connections
in the pool, adding a throttle of 60rpm per IP, adding mini profiler, adding
admin status to users
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20160325130944_add_admin_to_users.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160325130944_add_admin_to_users.rb b/db/migrate/20160325130944_add_admin_to_users.rb
new file mode 100644
index 000000000..e386d33dd
--- /dev/null
+++ b/db/migrate/20160325130944_add_admin_to_users.rb
@@ -0,0 +1,5 @@
+class AddAdminToUsers < ActiveRecord::Migration
+  def change
+    add_column :users, :admin, :boolean, default: false
+  end
+end