Removed extra ticket_counters migration file.
This commit is contained in:
parent
5ca42745ab
commit
144196ce9a
2 changed files with 7 additions and 12 deletions
|
@ -146,6 +146,12 @@ class CreateTicket < ActiveRecord::Migration
|
|||
add_index :ticket_article_flags, [:ticket_articles_id]
|
||||
add_index :ticket_article_flags, [:created_by_id]
|
||||
|
||||
create_table :ticket_counters do |t|
|
||||
t.column :content, :string, :limit => 100, :null => false
|
||||
t.column :generator, :string, :limit => 100, :null => false
|
||||
end
|
||||
add_index :ticket_counters, [:generator], :unique => true
|
||||
|
||||
create_table :overviews do |t|
|
||||
t.references :user, :null => true
|
||||
t.references :role, :null => false
|
||||
|
@ -223,6 +229,7 @@ class CreateTicket < ActiveRecord::Migration
|
|||
drop_table :link_types
|
||||
drop_table :link_objects
|
||||
drop_table :overviews
|
||||
drop_table :ticket_counters
|
||||
drop_table :ticket_time_accounting
|
||||
drop_table :ticket_article_flags
|
||||
drop_table :ticket_articles
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
class TicketCounter < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :ticket_counters do |t|
|
||||
t.column :content, :string, :limit => 100, :null => false
|
||||
t.column :generator, :string, :limit => 100, :null => false
|
||||
end
|
||||
add_index :ticket_counters, [:generator], :unique => true
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue