diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-23 10:46:48 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-23 10:46:48 +0100 |
commit | 0603971894a967f632020277c32a8e50ea165519 (patch) | |
tree | 7951334ed42713a8b318a50d92212a6f9a5e5fd6 /db/migrate | |
parent | 4bdb6a0eaffb39fb953689729c9fcf772c7128d6 (diff) |
Adding sensitive marker to statuses in API
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20161123093447_add_sensitive_to_statuses.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20161123093447_add_sensitive_to_statuses.rb b/db/migrate/20161123093447_add_sensitive_to_statuses.rb new file mode 100644 index 000000000..109f761ed --- /dev/null +++ b/db/migrate/20161123093447_add_sensitive_to_statuses.rb @@ -0,0 +1,5 @@ +class AddSensitiveToStatuses < ActiveRecord::Migration[5.0] + def change + add_column :statuses, :sensitive, :boolean, default: false + end +end |