20130123175040_create_wikivideos.rb
1.36 KB
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
# Author - Igor Portela - igorportela.com | Copyright(c) 2013. All rights reserved.
class CreateWikivideos < ActiveRecord::Migration
def change
create_table :wikivideos do |t|
t.string :signal_name
t.string :movement_type
t.string :amount_of_hands
t.string :facial_expression
t.string :repeat_flag_primary
t.string :primary_configuration_fingers
t.string :primary_orientation_of_hands
t.string :localization_of_articulation_primary
t.string :primary_configuration_fingers_left
t.string :primary_orientation_of_hands_left
t.string :localization_of_articulation_primary_left
t.string :time_spent
t.string :path_signal
t.string :radius
t.string :clockwise
t.string :orientation
t.string :direction
t.string :radius_secondary
t.string :clockwise_secondary
t.string :orientation_secondary
t.string :direction_secondary
t.string :secondary_configuration_fingers
t.string :secondary_orientation_of_hands
t.string :localization_of_articulation_secondary
t.string :secondary_configuration_fingers_left
t.string :secondary_orientation_of_hands_left
t.string :localization_of_articulation_secondary_left
t.string :repeat_flag_secondary
t.references :user
t.timestamps
end
add_index :wikivideos, :user_id
end
end