Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ActiveRecord Migrations with UUID primary key
- create_table :some_things, :id => false do |t|
- t.column :id, :uniqueidentifier, :primary => true
- t.column :name, :string, :limit => 255
- t.column :type, :tinyint
- t.column :deleted_flag, :bit
- t.column :class_id, :uniqueidentifier
- t.timestamps
- end
Advertisement
Add Comment
Please, Sign In to add comment