2012-10-05 20:40:30 +00:00
|
|
|
class CreateSynapses < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
create_table :synapses do |t|
|
|
|
|
t.text :desc
|
|
|
|
t.text :category
|
2012-10-26 10:04:52 +00:00
|
|
|
t.text :weight
|
|
|
|
t.text :permission
|
2012-10-05 20:40:30 +00:00
|
|
|
t.integer :node1_id
|
|
|
|
t.integer :node2_id
|
|
|
|
t.integer :user_id
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|