19dabe81cc
* enable starring * users should be able to star others maps * proper star icon * starred maps display as starred without refreshing * oops * make phrasing clearer
9 lines
194 B
Ruby
9 lines
194 B
Ruby
class Star < ActiveRecord::Migration
|
|
def change
|
|
create_table :stars do |t|
|
|
t.references :user, index: true
|
|
t.references :map, index: true
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|