15 lines
279 B
Ruby
15 lines
279 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
|