Weitere ähnliche Inhalte Ähnlich wie Gaelyk - Web Apps In Practically No Time (20) Mehr von Saltmarch Media (11) Kürzlich hochgeladen (20) Gaelyk - Web Apps In Practically No Time8. Refactoring
Evolutionary
Automated
Data
Testing Modeling
Agile
Database
Development
Source
Sandboxes
Control
8
18. I would
totally fail at
database agility
without this
sandbox!
Sandboxes
18
20. I need
tooling,
Mom.
Sandboxes
20
22. Refactoring
Evolutionary
Automated
Data
Testing Modeling
Agile
Database
Development
Source
Sandboxes
Control
22
23. Refactoring
Evolutionary
Automated
Data
Testing Modeling
Agile
Database
Development
Source
Sandboxes
Control
23
29. changeSet
author id
refactoring 1
refactoring 2
...
refactoring n
29
30. Current changeLog
changeSet 1 ✓ changeSet 1
changeSet 2 ✓ changeSet 2
changeSet 3
changeSet 4 ✓ changeSet 4
changeSet 5 changeSet 5
30
31. <write-in-xml>
<all-of-your>
<sql
seriously=”yes”
but-its-not=”that bad” />
<trust><me/></trust>
</all-of-your>
</write-in-xml>
31
32. Changelog
<changeSet author="tlberglund (generated)" id="1236660747556-11">
<createTable tableName="scshoppingcart">
<column autoIncrement="true" name="id" type="INT">
<constraints nullable="false"/>
</column>
<column name="userid" type="INT">
<constraints nullable="false"/>
</column>
<column name="lastmodified" type="DATETIME"/>
<column name="name" type="VARCHAR(50)"/>
</createTable>
</changeSet> Get over
<changeSet author="tlberglund" id="spot-1-1-2">
it!
<renameTable oldTableName="scscrubrecordwarehouse"
newTableName="scrub_record_log" />
</changeSet>
32
33. Changelog
changeSet(author: "tlberglund" id: "1236660747556-11") {
createTable(tableName: "scshoppingcart") {
column(autoIncrement: "true" name: "id" type: "INT") {
constraints(nullable: false)
}
column(name: "userid" type: "INT") {
constraints(nullable: false)
}
column(name: "lastmodified" type: "DATETIME")
column(name: "name" type: "VARCHAR(50)")
}
} Coming
changeSet(author: "tlberglund" id: "spot-1-1-2") {
Soon!
renameTable(oldTableName: "scscrubrecordwarehouse"
newTableName: "scrub_record_log")
}
33
36. changeLogSync
Establishes
METADATA
just remember do this one
36
37. update
Issues
actual
Migrates DDL
CHANGES
this is your faithful friend
37
38. tag
Marks
the current
STATE
38
39. rollback
Restores
original
STATE
Usually
AUTOMATIC
39
43. Refactoring
Evolutionary
Automated
Data
Testing Modeling
Agile
Database
Development
Source
Sandboxes
Control
43
44. Thank You
Tim Berglund
www.augusttechgroup.com
tim.berglund@augusttechgroup.com
@tlberglund
44
45. Photo Credits
Hammer Shattering Wine Glass
http://www.flickr.com/photos/whisperwolf/3486270713
Rusty Drum
http://www.flickr.com/photos/the_justified_sinner/2720599186/
Leaky Pipe
http://www.flickr.com/photos/ceekay/3238528758
C64 Floppy Drive
http://www.flickr.com/photos/moparx/4013824025
Sandbox
http://www.flickr.com/photos/celinesphotographer/326629023
Dog Teaching Water a Lesson
http://www.flickr.com/photos/ninahiironniemi/201905662
Feet in the Sand
http://www.flickr.com/photos/mattsabo17/77433071
45