Add lecture kinds
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddLectureKind < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :lectures, :kind, :integer, default: 0
|
||||
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[7.0].define(version: 2023_10_02_150348) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2023_10_02_152546) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
@@ -42,6 +42,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_10_02_150348) do
|
||||
t.bigint "course_id"
|
||||
t.string "event_uuid"
|
||||
t.boolean "cancelled", default: false
|
||||
t.integer "kind", default: 0
|
||||
t.index ["course_id"], name: "index_lectures_on_course_id"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user