diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-02-18 02:02:54 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-18 02:18:09 -0600 |
commit | 0f3b01eaab82325baaf1c7a4c75a322d3c21a67f (patch) | |
tree | f3d19c99328336997919803ffc6850a96d5a6411 /db/migrate | |
parent | fc69e4a0bb4e3d2fdcb2ffef0f3211f8c347ed15 (diff) |
switch to irc-like oper behavior; require mods & admins to explicitly oper up using `fangs`/`op` bangtag or toggling defang setting in profile; auto-defang after 15 mins or with `defang`/`deop` bangtag
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20200218032023_add_defanged_to_users.rb | 5 | ||||
-rw-r--r-- | db/migrate/20200218033651_add_halfmod_to_users.rb | 5 | ||||
-rw-r--r-- | db/migrate/20200218070510_add_last_fanged_at_to_users.rb | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20200218032023_add_defanged_to_users.rb b/db/migrate/20200218032023_add_defanged_to_users.rb new file mode 100644 index 000000000..b5e6d02f6 --- /dev/null +++ b/db/migrate/20200218032023_add_defanged_to_users.rb @@ -0,0 +1,5 @@ +class AddDefangedToUsers < ActiveRecord::Migration[5.2] + def change + safety_assured { add_column :users, :defanged, :boolean, null: false, default: true } + end +end diff --git a/db/migrate/20200218033651_add_halfmod_to_users.rb b/db/migrate/20200218033651_add_halfmod_to_users.rb new file mode 100644 index 000000000..7693e8135 --- /dev/null +++ b/db/migrate/20200218033651_add_halfmod_to_users.rb @@ -0,0 +1,5 @@ +class AddHalfmodToUsers < ActiveRecord::Migration[5.2] + def change + safety_assured { add_column :users, :halfmod, :boolean, null: false, default: false } + end +end diff --git a/db/migrate/20200218070510_add_last_fanged_at_to_users.rb b/db/migrate/20200218070510_add_last_fanged_at_to_users.rb new file mode 100644 index 000000000..727a2cf55 --- /dev/null +++ b/db/migrate/20200218070510_add_last_fanged_at_to_users.rb @@ -0,0 +1,5 @@ +class AddLastFangedAtToUsers < ActiveRecord::Migration[5.2] + def change + add_column :users, :last_fanged_at, :datetime + end +end |