metamaps--metamaps/db/migrate/20121005160234_create_synapses.rb
2013-01-01 17:45:35 -05:00

15 lines
291 B
Ruby

class CreateSynapses < ActiveRecord::Migration
def change
create_table :synapses do |t|
t.text :desc
t.text :category
t.text :weight
t.text :permission
t.integer :node1_id
t.integer :node2_id
t.integer :user_id
t.timestamps
end
end
end