12 lines
209 B
12 lines
209 B
5 years ago
|
class CreateHackCodes < ActiveRecord::Migration[5.2]
|
||
|
def change
|
||
|
create_table :hack_codes do |t|
|
||
|
t.references :hack
|
||
|
t.text :code
|
||
|
t.string :language
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|