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
|
# File 'lib/wlog/migrations/make_standard_tables.rb', line 7
def change
create_table :issues do |t|
t.text :description
t.datetime :due_date
t.integer :status
t.integer :timelog, :limit => 8
t.text :long_description
t.datetime :created_at
t.datetime :updated_at
end
create_table :log_entries do |t|
t.text :description
t.integer :issue_id
t.datetime :created_at
t.datetime :updated_at
end
create_table :attachments do |t|
t.text :filename
t.text :given_name
t.text :data
t.datetime :created_at
t.datetime :updated_at
end
create_table :key_values do |t|
t.text :key
t.text :value
end
create_table :invoices do |t|
t.datetime :from
t.datetime :to
t.text :description
end
end
|