diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-20 02:43:20 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-20 02:43:20 +0200 |
commit | 608a2bfffc9186e71d52e0916b54b0f513994db2 (patch) | |
tree | 3a2d900162a1fc62a0221c180404771d5c787bcc /db | |
parent | a86f21cf90814ef0dd6e013202fb93ee83beca86 (diff) |
Upgrade to PubSubHubbub 0.4 (removing verify_token)
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20160920003904_remove_verify_token_from_accounts.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/db/migrate/20160920003904_remove_verify_token_from_accounts.rb b/db/migrate/20160920003904_remove_verify_token_from_accounts.rb new file mode 100644 index 000000000..ab6a6c84c --- /dev/null +++ b/db/migrate/20160920003904_remove_verify_token_from_accounts.rb @@ -0,0 +1,5 @@ +class RemoveVerifyTokenFromAccounts < ActiveRecord::Migration[5.0] + def change + remove_column :accounts, :verify_token, :string, null: false, default: '' + end +end diff --git a/db/schema.rb b/db/schema.rb index 3179942c0..712776215 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20160919221059) do +ActiveRecord::Schema.define(version: 20160920003904) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -18,7 +18,6 @@ ActiveRecord::Schema.define(version: 20160919221059) do create_table "accounts", force: :cascade do |t| t.string "username", default: "", null: false t.string "domain" - t.string "verify_token", default: "", null: false t.string "secret", default: "", null: false t.text "private_key" t.text "public_key", default: "", null: false |