-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.rb
44 lines (39 loc) · 899 Bytes
/
schema.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
ActiveRecord::Schema.define do
create_table :jobs do |t|
t.string :name
t.string :desc
t.text :data
t.timestamps
end
create_table :users do |t|
t.string :name
t.string :address
t.text :details
t.timestamps
end
create_table :user_datas do |t|
t.integer :social_number
t.string :title
t.integer :age
t.integer :period_id
end
create_table :periods do |t|
t.string :year
end
create_table :priorities do |t|
t.integer :job_id
t.integer :value
end
create_table "delayed_jobs", :force => true do |t|
t.integer "priority", :default => 0
t.integer "attempts", :default => 0
t.text "handler"
t.text "last_error"
t.datetime "run_at"
t.datetime "locked_at"
t.datetime "failed_at"
t.string "locked_by"
t.datetime "created_at"
t.datetime "updated_at"
end
end