blob: e645ef579b8097875988bb8ce8399c7e8053f219 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class CreateAliases < ActiveRecord::Migration
def self.up
create_table :aliases, :id => false do |t|
t.integer :sticky
t.string :alias, :limit=>'128'
t.string :command, :limit=>'4096'
t.string :hostname, :limit=>'256'
end
add_index :aliases, [ :alias ], :unique => false, :name => 'alias1'
end
def self.down
drop_table :aliases
end
end
|