Track creator
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddCreatorToSplats < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
add_column :splats, :creator_id, :integer, null: false
|
||||
end
|
||||
end
|
||||
Generated
+2
-1
@@ -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_07_24_163519) do
|
||||
ActiveRecord::Schema[8.0].define(version: 2024_08_14_210043) do
|
||||
create_table "categories", force: :cascade do |t|
|
||||
t.string "title"
|
||||
t.datetime "created_at", null: false
|
||||
@@ -51,6 +51,7 @@ ActiveRecord::Schema[8.0].define(version: 2024_07_24_163519) do
|
||||
t.string "color"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.integer "creator_id", null: false
|
||||
end
|
||||
|
||||
create_table "users", force: :cascade do |t|
|
||||
|
||||
Reference in New Issue
Block a user