body better aligns with splat and comment
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AlignModels < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
rename_column :boosts, :content, :body
|
||||
end
|
||||
end
|
||||
Generated
+2
-2
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.0].define(version: 2024_08_20_170703) do
|
||||
ActiveRecord::Schema[8.0].define(version: 2024_08_26_201811) do
|
||||
create_table "accounts", force: :cascade do |t|
|
||||
t.string "name", null: false
|
||||
t.datetime "created_at", null: false
|
||||
@@ -19,7 +19,7 @@ ActiveRecord::Schema[8.0].define(version: 2024_08_20_170703) do
|
||||
end
|
||||
|
||||
create_table "boosts", force: :cascade do |t|
|
||||
t.string "content"
|
||||
t.string "body"
|
||||
t.integer "creator_id", null: false
|
||||
t.integer "splat_id", null: false
|
||||
t.datetime "created_at", null: false
|
||||
|
||||
Vendored
+4
-4
@@ -1,21 +1,21 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
content: ""
|
||||
body: ""
|
||||
creator: :jz
|
||||
splat: one
|
||||
|
||||
two:
|
||||
content: ""
|
||||
body: ""
|
||||
creator: :kevin
|
||||
splat: two
|
||||
|
||||
three:
|
||||
content: ""
|
||||
body: ""
|
||||
creator: :kevin
|
||||
splat: one
|
||||
|
||||
four:
|
||||
content: ""
|
||||
body: ""
|
||||
creator: :jz
|
||||
splat: one
|
||||
|
||||
Reference in New Issue
Block a user