Guest User

Untitled

a guest
Jul 1st, 2012
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. ActiveRecord Migrations with UUID primary key
  2. create_table :some_things, :id => false do |t|
  3. t.column :id, :uniqueidentifier, :primary => true
  4. t.column :name, :string, :limit => 255
  5. t.column :type, :tinyint
  6. t.column :deleted_flag, :bit
  7. t.column :class_id, :uniqueidentifier
  8. t.timestamps
  9. end
Advertisement
Add Comment
Please, Sign In to add comment