mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 20:55:46 +08:00
merge from develop
This commit is contained in:
13
db/migrate/20220923012923_create_timeable_visit_records.rb
Normal file
13
db/migrate/20220923012923_create_timeable_visit_records.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class CreateTimeableVisitRecords < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :timeable_visit_records do |t|
|
||||
t.string :time
|
||||
t.references :project
|
||||
t.integer :visits, default: 0
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :timeable_visit_records, :time
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user