mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-13 21:31:28 +00:00
14 lines
271 B
Ruby
14 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
|