Sha256: 75453aa63fdf91fe91356634b1803860ecb9bb3d289b921de75b216487540008
Contents?: true
Size: 336 Bytes
Versions: 20
Compression:
Stored size: 336 Bytes
Contents
class NodeHabtmRoles < ActiveRecord::Migration def self.up create_table('nodes_roles', :options => Zena::Db.table_options, :id => false) do |t| t.integer 'node_id', :default => 0, :null => false t.integer 'role_id', :default => 0, :null => false end end def self.down drop_table('nodes_roles') end end
Version data entries
20 entries across 20 versions & 1 rubygems