Skip to content

Commit 3f3f9c7

Browse files
committed
corrects typo in database table
1 parent f75c01f commit 3f3f9c7

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class ChangeScholarshipApplication < ActiveRecord::Migration[5.0]
2+
def change
3+
rename_column :scholarship_applications, :terms_accpeted, :terms_accepted
4+
end
5+
end

db/schema.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema.define(version: 20170803223854) do
13+
ActiveRecord::Schema.define(version: 20170821193457) do
1414

1515
# These are extensions that must be enabled in order to support this database
1616
enable_extension "plpgsql"
@@ -61,7 +61,7 @@
6161

6262
create_table "scholarship_applications", force: :cascade do |t|
6363
t.text "reason"
64-
t.boolean "terms_accpeted"
64+
t.boolean "terms_accepted"
6565
t.integer "user_id"
6666
t.integer "scholarship_id"
6767
t.datetime "created_at", null: false

0 commit comments

Comments
 (0)