From 3e7a0e550fa3e7730bf0b2bb44a3d93a25307514 Mon Sep 17 00:00:00 2001 From: Logan Fick Date: Thu, 12 Oct 2017 20:46:23 -0400 Subject: Added ability to add public key to account. --- db/migrate/20171013001146_add_public_key_to_users.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20171013001146_add_public_key_to_users.rb (limited to 'db') diff --git a/db/migrate/20171013001146_add_public_key_to_users.rb b/db/migrate/20171013001146_add_public_key_to_users.rb new file mode 100644 index 0000000..a03743c --- /dev/null +++ b/db/migrate/20171013001146_add_public_key_to_users.rb @@ -0,0 +1,5 @@ +class AddPublicKeyToUsers < ActiveRecord::Migration + def change + add_column :users, :public_key, :text + end +end -- cgit v1.2.3 From 751462bbedb2e2133b630156527650ebc506d347 Mon Sep 17 00:00:00 2001 From: Logan Fick Date: Fri, 13 Oct 2017 23:28:08 -0400 Subject: Added public_key to schema. --- db/schema.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'db') diff --git a/db/schema.rb b/db/schema.rb index 5849cf5..2f38b71 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -154,6 +154,7 @@ ActiveRecord::Schema.define(version: 20170703003647) do t.boolean "utc_time", default: false t.boolean "header_scroll", default: false t.boolean "dark", default: false + t.text "public_key", limit: 65535 end add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree -- cgit v1.2.3 From 91d6082d3759bd65a95a0dee063a46d2e6f6d2f6 Mon Sep 17 00:00:00 2001 From: Logan Fick Date: Wed, 18 Oct 2017 17:06:41 -0400 Subject: Fixed schema version number. --- db/schema.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db') diff --git a/db/schema.rb b/db/schema.rb index 2f38b71..91cfe91 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20170703003647) do +ActiveRecord::Schema.define(version: 20171013001146) do create_table "badges", force: :cascade do |t| t.string "name", limit: 191 -- cgit v1.2.3