Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

remove plaintext_tokens left over from 1f2492bb

ulfertse02cc6409220
diff --git a/db/migrate/20221027151959_remove_plaintext_tokens.rb b/db/migrate/20221027151959_remove_plaintext_tokens.rb
new file mode 100644
index 00000000000..a4f788de771
--- /dev/null
+++ b/db/migrate/20221027151959_remove_plaintext_tokens.rb
@@ -0,0 +1,12 @@
+class RemovePlaintextTokens < ActiveRecord::Migration[7.0]
+ def change
+ drop_table :plaintext_tokens do |t|
+ t.integer :user_id, default: 0, null: false
+ t.string :action, limit: 30, default: '', null: false
+ t.string :value, limit: 40, default: '', null: false
+ t.datetime :created_on, null: false
+
+ t.index :user_id, name: 'index_plaintext_tokens_on_user_id'
+ end
+ end
+end