mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-28 04:00:45 +00:00
15 lines
271 B
Ruby
15 lines
271 B
Ruby
|
class CreateGatherServers < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :gather_servers do |t|
|
||
|
t.references :gather
|
||
|
t.references :server
|
||
|
t.integer :votes
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
drop_table :gather_servers
|
||
|
end
|
||
|
end
|