improve events
This commit is contained in:
6
db/migrate/20230611105046_add_info_to_events.rb
Normal file
6
db/migrate/20230611105046_add_info_to_events.rb
Normal file
@ -0,0 +1,6 @@
|
||||
class AddInfoToEvents < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :events, :info, :string
|
||||
add_column :profiles, :info, :string
|
||||
end
|
||||
end
|
4
db/schema.rb
generated
4
db/schema.rb
generated
@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2023_01_16_120518) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2023_06_11_105046) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
@ -33,6 +33,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_16_120518) do
|
||||
t.string "picture", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "info"
|
||||
t.index ["profile_id"], name: "index_events_on_profile_id"
|
||||
end
|
||||
|
||||
@ -72,6 +73,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_16_120518) do
|
||||
t.bigint "member_id", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "info"
|
||||
t.index ["member_id"], name: "index_profiles_on_member_id"
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user