GeoRSS aggregator and Layar augmented reality server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
312 B

  1. class CreateLayers < ActiveRecord::Migration
  2. def change
  3. create_table :layers do |t|
  4. t.string :name
  5. t.timestamps
  6. end
  7. create_table :feeds_layers, :id => false do |t|
  8. t.integer :feed_id
  9. t.integer :layer_id
  10. end
  11. add_index :feeds_layers, [ :feed_id, :layer_id ]
  12. end
  13. end